結果
| 問題 | No.1926 Sequence of Remainders |
| コンテスト | |
| ユーザー |
ikoma
|
| 提出日時 | 2022-05-06 21:36:23 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 108 ms / 2,000 ms |
| + 523µs | |
| コード長 | 151 bytes |
| 記録 | |
| コンパイル時間 | 239 ms |
| コンパイル使用メモリ | 95,860 KB |
| 実行使用メモリ | 84,736 KB |
| 最終ジャッジ日時 | 2026-08-08 16:45:20 |
| 合計ジャッジ時間 | 9,188 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 35 |
ソースコード
import sys
input = sys.stdin.readline
T=int(input())
for t in range(T):
N,M,K=map(int,input().split())
a0=K%M
print(0 if M-N<=a0 else a0)
ikoma