結果
問題 |
No.239 にゃんぱすー
|
ユーザー |
![]() |
提出日時 | 2017-09-24 22:34:51 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 407 bytes |
コンパイル時間 | 90 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,648 KB |
最終ジャッジ日時 | 2024-11-14 07:33:08 |
合計ジャッジ時間 | 2,870 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 2 |
other | AC * 17 WA * 16 |
ソースコード
def ILLINRows(N): return [input().split() for i in range(N)] def transpose(matrix): if matrix ==[]: return [] if matrix[0] ==1: return list(map(list, zip(matrix))) else: return list(map(list, zip(*matrix))) n = int(input()) twoArray=ILLINRows(n) twoArray=transpose(twoArray) for i in enumerate(twoArray): if i[1].count("nyanpass")==n-1: print(i[0]+1)