結果
問題 | No.1903 Day1 |
ユーザー |
|
提出日時 | 2022-04-15 21:23:01 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 1,000 ms |
コード長 | 302 bytes |
コンパイル時間 | 2,031 ms |
コンパイル使用メモリ | 193,084 KB |
最終ジャッジ日時 | 2025-01-28 17:51:09 |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 8 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < n; ++i) typedef long long int_t; int main() { ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; rep (i, n) { if (i % 7 == 6) n += 6; } cout << n << endl; return 0; }