結果
問題 | No.1406 Test |
ユーザー |
👑 |
提出日時 | 2021-02-28 15:33:07 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 158 bytes |
コンパイル時間 | 347 ms |
コンパイル使用メモリ | 6,944 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-02 18:14:36 |
合計ジャッジ時間 | 1,165 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 22 |
ソースコード
n = io.read("*n")sum = 0for i = 1, n - 1 dosum = sum + io.read("*n")endc = 0for i = 0, 100 doif (sum + i) % n == 0 then c = c + 1 endendprint(c)