結果
| 問題 | No.1926 Sequence of Remainders |
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2022-05-06 21:27:24 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 249 ms / 2,000 ms |
| コード長 | 183 bytes |
| 記録 | |
| コンパイル時間 | 656 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-03-27 08:47:32 |
| 合計ジャッジ時間 | 11,421 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 35 |
ソースコード
import sys
input = sys.stdin.readline
T=int(input())
for tests in range(T):
N,M,K=map(int,input().split())
X=K%M
if M-N<=X:
print(0)
else:
print(X)
titia