結果
問題 | No.1926 Sequence of Remainders |
ユーザー | kunikida007 |
提出日時 | 2022-05-10 22:47:18 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 171 bytes |
コンパイル時間 | 267 ms |
コンパイル使用メモリ | 87,296 KB |
実行使用メモリ | 151,256 KB |
最終ジャッジ日時 | 2023-09-25 06:51:55 |
合計ジャッジ時間 | 14,654 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1,457 ms
151,256 KB |
testcase_01 | AC | 340 ms
77,460 KB |
testcase_02 | AC | 367 ms
77,232 KB |
testcase_03 | AC | 382 ms
78,300 KB |
testcase_04 | AC | 429 ms
78,324 KB |
testcase_05 | AC | 415 ms
77,576 KB |
testcase_06 | TLE | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
testcase_13 | -- | - |
testcase_14 | -- | - |
testcase_15 | -- | - |
testcase_16 | -- | - |
testcase_17 | -- | - |
testcase_18 | -- | - |
testcase_19 | -- | - |
testcase_20 | -- | - |
testcase_21 | -- | - |
testcase_22 | -- | - |
testcase_23 | -- | - |
testcase_24 | -- | - |
testcase_25 | -- | - |
testcase_26 | -- | - |
testcase_27 | -- | - |
testcase_28 | -- | - |
testcase_29 | -- | - |
testcase_30 | -- | - |
testcase_31 | -- | - |
testcase_32 | -- | - |
testcase_33 | -- | - |
testcase_34 | -- | - |
testcase_35 | -- | - |
ソースコード
t = int(input()) for _ in range(t): n, m, k = map(int, input().split()) a_0 = k % m ans = a_0 for i in range(1, n+1): ans %= (m - i) print(ans)