結果
| 問題 | No.3029 オイラー標数 |
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 21:14:57 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 262 bytes |
| 記録 | |
| コンパイル時間 | 221 ms |
| コンパイル使用メモリ | 96,240 KB |
| 実行使用メモリ | 79,492 KB |
| 最終ジャッジ日時 | 2026-07-07 13:13:00 |
| 合計ジャッジ時間 | 6,660 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 27 |
ソースコード
m = int(input())
mod = 20 * m
current = 0
n_str = "26180411287263107299803976957264203054160842086839438580"
for c in n_str:
current = (current * 10 + int(c)) % mod
remainder = current // 20
result = remainder % m
print("even" if result % 2 == 0 else "odd")
lam6er