結果
問題 | No.1903 Day1 |
ユーザー |
|
提出日時 | 2025-02-16 12:21:39 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 234 bytes |
コンパイル時間 | 993 ms |
コンパイル使用メモリ | 77,208 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2025-02-16 12:21:41 |
合計ジャッジ時間 | 1,531 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 8 |
ソースコード
#include <iostream>#include <cstdint>using namespace std;int main(){cin.tie(nullptr);ios::sync_with_stdio(false);uint32_t N;cin >> N;if (N <= 6) cout << N << '\n';else cout << (N - 6) * 7 + 6 << '\n';return 0;}