結果

問題 No.1926 Sequence of Remainders
ユーザー sora
提出日時 2022-05-09 14:44:15
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 212 bytes
コンパイル時間 123 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-07-16 13:00:19
合計ジャッジ時間 3,205 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 1
other RE * 35
権限があれば一括ダウンロードができます

ソースコード

diff #

T = int(input())
lists = []
for i in range(T):
    _ = i - 1
    N,M,K = map(int, input().split())
    if _ == 0:
        a_0 = K%M
        lists.append(a_0)
        print(a_0)
    else:
        print(lists[_]%_)
0