結果
問題 | No.1903 Day1 |
ユーザー | ああいい |
提出日時 | 2022-04-15 21:23:30 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 49 ms / 1,000 ms |
コード長 | 134 bytes |
コンパイル時間 | 228 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 57,984 KB |
最終ジャッジ日時 | 2024-12-24 23:22:50 |
合計ジャッジ時間 | 1,239 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 8 |
ソースコード
N = int(input()) ans = 1 now = 1 N -= 1 while N: now += 1 if now % 7 == 0: N += 6 ans += 1 N -= 1 print(ans)