結果
| 問題 | 
                            No.3029 オイラー標数
                             | 
                    
| コンテスト | |
| ユーザー | 
                             lam6er
                         | 
                    
| 提出日時 | 2025-03-20 21:14:57 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 262 bytes | 
| コンパイル時間 | 232 ms | 
| コンパイル使用メモリ | 82,528 KB | 
| 実行使用メモリ | 53,988 KB | 
| 最終ジャッジ日時 | 2025-03-20 21:15:30 | 
| 合計ジャッジ時間 | 4,479 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| 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