結果
| 問題 |
No.1926 Sequence of Remainders
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-05-10 22:47:18 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 171 bytes |
| コンパイル時間 | 177 ms |
| コンパイル使用メモリ | 82,272 KB |
| 実行使用メモリ | 77,056 KB |
| 最終ジャッジ日時 | 2024-07-18 05:43:51 |
| 合計ジャッジ時間 | 11,469 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 5 TLE * 1 -- * 29 |
ソースコード
t = int(input())
for _ in range(t):
n, m, k = map(int, input().split())
a_0 = k % m
ans = a_0
for i in range(1, n+1):
ans %= (m - i)
print(ans)