結果

問題 No.239 にゃんぱすー
ユーザー togatogatogatoga
提出日時 2015-08-16 11:36:42
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 238 bytes
コンパイル時間 382 ms
コンパイル使用メモリ 6,692 KB
実行使用メモリ 6,384 KB
最終ジャッジ日時 2023-09-25 12:17:50
合計ジャッジ時間 2,277 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
6,164 KB
testcase_01 AC 11 ms
6,020 KB
testcase_02 AC 12 ms
6,120 KB
testcase_03 AC 12 ms
5,920 KB
testcase_04 AC 12 ms
6,024 KB
testcase_05 WA -
testcase_06 AC 12 ms
6,008 KB
testcase_07 AC 11 ms
6,112 KB
testcase_08 AC 11 ms
6,160 KB
testcase_09 AC 12 ms
6,028 KB
testcase_10 AC 12 ms
5,996 KB
testcase_11 WA -
testcase_12 AC 12 ms
6,028 KB
testcase_13 AC 12 ms
6,008 KB
testcase_14 AC 12 ms
6,044 KB
testcase_15 AC 13 ms
6,152 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 13 ms
5,996 KB
testcase_21 WA -
testcase_22 AC 13 ms
6,256 KB
testcase_23 AC 13 ms
6,088 KB
testcase_24 AC 13 ms
6,076 KB
testcase_25 AC 13 ms
6,192 KB
testcase_26 WA -
testcase_27 AC 11 ms
6,160 KB
testcase_28 AC 12 ms
6,112 KB
testcase_29 AC 12 ms
6,184 KB
testcase_30 AC 12 ms
6,044 KB
testcase_31 AC 12 ms
6,016 KB
testcase_32 AC 12 ms
6,044 KB
testcase_33 WA -
testcase_34 AC 13 ms
6,308 KB
testcase_35 AC 13 ms
6,068 KB
testcase_36 AC 14 ms
6,152 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = input()
ren = set()
for i in range(N):
    greeting = raw_input().split()
    for j,greet in enumerate(greeting):
        if (greet == "nyanpass"):
            ren.add(j + 1)
if (len(ren) == 1):
    print ren.pop()
else:
    print -1
0