結果

問題 No.239 にゃんぱすー
ユーザー compass19
提出日時 2016-11-17 08:34:52
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 215 bytes
コンパイル時間 221 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-11-26 02:46:50
合計ジャッジ時間 2,431 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 2
other AC * 16 WA * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
canset = list(range(N))
for i in range(N):
	W = input().split()
	for i in canset:
		if W[i] != 'nyanpass' and W[i] != '-':
			canset.remove(i)
if len(canset) == 1:
	print(canset[0])
else:
	print(-1)
0