結果
| 問題 |
No.24 数当てゲーム
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-12-10 21:55:33 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 379 bytes |
| コンパイル時間 | 236 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-11-30 11:23:49 |
| 合計ジャッジ時間 | 943 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 1 |
ソースコード
#!/usr/bin/env python
N = int(input())
inlines = []
for i in range(N):
inlines.append(input().split())
yescount = 0
yesnums = []
nonums = []
for line in inlines:
if line[4] == 'YES':
yesnums += line[:4]
yescount += 1
else:
nonums += line[:4]
for i in set(yesnums):
if yesnums.count(i)==yescount and nonums.count(i)==0:
print(i)