結果
問題 |
No.1594 Three Classes
|
ユーザー |
|
提出日時 | 2021-09-12 21:06:48 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 213 bytes |
コンパイル時間 | 391 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-06-24 14:10:24 |
合計ジャッジ時間 | 20,601 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 TLE * 3 |
ソースコード
n=int(input()) e=list(map(int,input().split())) for i in range(3**n): p=[0,0,0] tmp=i for j in range(n): p[tmp%3]+=e[j] tmp//=3 if p[0]==p[1] and p[1]==p[2]: print("Yes") exit() print("No")