結果
| 問題 |
No.3145 Astral Parentheses Sequence
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2025-03-26 22:51:51 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 145 bytes |
| コンパイル時間 | 97 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2025-03-26 23:40:10 |
| 合計ジャッジ時間 | 3,156 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 10 WA * 35 |
コンパイルメッセージ
Main.py:7: SyntaxWarning: invalid decimal literal print(0if N%3 else a//(2*n+1))
ソースコード
#誤解法チェック2 N,M=map(int,input().split()) n=N//3 m=M*(2*n+1) a=1 for i in range(n):a=a*(N-i)//(i+1)%m print(0if N%3 else a//(2*n+1))