結果

問題 No.1926 Sequence of Remainders
ユーザー tktk_snsntktk_snsn
提出日時 2022-05-23 17:53:51
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 167 bytes
コンパイル時間 97 ms
コンパイル使用メモリ 11,784 KB
実行使用メモリ 10,088 KB
最終ジャッジ日時 2023-10-20 17:40:17
合計ジャッジ時間 29,007 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 603 ms
10,072 KB
testcase_07 AC 612 ms
10,072 KB
testcase_08 AC 604 ms
10,072 KB
testcase_09 AC 605 ms
10,072 KB
testcase_10 AC 598 ms
10,072 KB
testcase_11 AC 599 ms
10,072 KB
testcase_12 AC 597 ms
10,072 KB
testcase_13 AC 596 ms
10,072 KB
testcase_14 AC 596 ms
10,072 KB
testcase_15 AC 597 ms
10,072 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 610 ms
10,072 KB
testcase_27 AC 604 ms
10,072 KB
testcase_28 AC 594 ms
10,072 KB
testcase_29 AC 600 ms
10,072 KB
testcase_30 AC 600 ms
10,072 KB
testcase_31 AC 620 ms
10,072 KB
testcase_32 AC 603 ms
10,072 KB
testcase_33 AC 598 ms
10,072 KB
testcase_34 AC 592 ms
10,072 KB
testcase_35 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    N, M, K = map(int, input().split())
    K %= M
    if N > M - K:
        return 0
    return K


T = int(input())
for _ in range(T):
    print(main())
0