結果
| 問題 |
No.2649 [Cherry 6th Tune C] Anthem Flower
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-06-12 09:39:01 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 106 bytes |
| コンパイル時間 | 409 ms |
| コンパイル使用メモリ | 12,000 KB |
| 実行使用メモリ | 11,956 KB |
| 最終ジャッジ日時 | 2025-06-12 09:39:14 |
| 合計ジャッジ時間 | 12,877 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 RE * 21 |
ソースコード
t = int(input())
for i in range(t):
n, m = map(int, input().split())
print(n * (n + 1) // 2 % m)