結果

問題 No.1926 Sequence of Remainders
ユーザー YoureinYourein
提出日時 2022-05-06 21:34:43
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 337 ms / 2,000 ms
コード長 143 bytes
コンパイル時間 658 ms
コンパイル使用メモリ 87,044 KB
実行使用メモリ 78,692 KB
最終ジャッジ日時 2023-09-20 02:27:56
合計ジャッジ時間 15,081 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,372 KB
testcase_01 AC 307 ms
77,624 KB
testcase_02 AC 309 ms
77,444 KB
testcase_03 AC 337 ms
78,104 KB
testcase_04 AC 333 ms
77,964 KB
testcase_05 AC 333 ms
78,232 KB
testcase_06 AC 328 ms
77,620 KB
testcase_07 AC 326 ms
78,488 KB
testcase_08 AC 328 ms
78,464 KB
testcase_09 AC 326 ms
78,468 KB
testcase_10 AC 321 ms
78,628 KB
testcase_11 AC 331 ms
78,644 KB
testcase_12 AC 325 ms
78,416 KB
testcase_13 AC 324 ms
78,436 KB
testcase_14 AC 330 ms
77,756 KB
testcase_15 AC 325 ms
77,484 KB
testcase_16 AC 330 ms
78,592 KB
testcase_17 AC 319 ms
77,244 KB
testcase_18 AC 327 ms
78,604 KB
testcase_19 AC 326 ms
78,692 KB
testcase_20 AC 328 ms
78,564 KB
testcase_21 AC 318 ms
77,548 KB
testcase_22 AC 326 ms
77,540 KB
testcase_23 AC 325 ms
77,572 KB
testcase_24 AC 325 ms
77,424 KB
testcase_25 AC 327 ms
77,464 KB
testcase_26 AC 329 ms
78,532 KB
testcase_27 AC 328 ms
78,468 KB
testcase_28 AC 327 ms
78,604 KB
testcase_29 AC 326 ms
78,628 KB
testcase_30 AC 333 ms
77,672 KB
testcase_31 AC 328 ms
77,264 KB
testcase_32 AC 330 ms
78,604 KB
testcase_33 AC 324 ms
78,528 KB
testcase_34 AC 323 ms
78,444 KB
testcase_35 AC 331 ms
78,600 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

t = int(input())

for case in range(t):
    n, m, k = map(int, input().split())
    begin = k%m
    print(0) if m-n <= begin else print(begin)
0