結果
| 問題 |
No.1926 Sequence of Remainders
|
| コンテスト | |
| ユーザー |
ripity
|
| 提出日時 | 2022-04-04 15:39:56 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 129 bytes |
| コンパイル時間 | 362 ms |
| コンパイル使用メモリ | 82,560 KB |
| 実行使用メモリ | 82,356 KB |
| 最終ジャッジ日時 | 2024-11-25 07:12:04 |
| 合計ジャッジ時間 | 8,025 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 35 |
ソースコード
ANS = []
for _ in range(int(input())):
N,M,K = map(int,input().split())
ANS.append( K%M if K%M < M-N else 0 )
print(*ANS)
ripity