結果
| 問題 | No.239 にゃんぱすー |
| コンテスト | |
| ユーザー |
hanorver
|
| 提出日時 | 2015-11-30 12:47:19 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 17 ms / 2,000 ms |
| + 621µs | |
| コード長 | 187 bytes |
| 記録 | |
| コンパイル時間 | 481 ms |
| コンパイル使用メモリ | 14,720 KB |
| 実行使用メモリ | 10,240 KB |
| 最終ジャッジ日時 | 2026-11-05 22:44:58 |
| 合計ジャッジ時間 | 2,762 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 35 |
ソースコード
i=int(input()) l=[0]*i for j in range(i): for k,e in enumerate(input().split()): if e=="nyanpass":l[k]+=1 if l.count(max(l))!=1 or max(l)!=i-1:print(-1) else:print(l.index(max(l))+1)
hanorver