結果
問題 | No.305 鍵(2) |
ユーザー |
![]() |
提出日時 | 2023-12-19 02:01:30 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 54 ms / 2,000 ms |
コード長 | 339 bytes |
コンパイル時間 | 84 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 27,608 KB |
平均クエリ数 | 92.62 |
最終ジャッジ日時 | 2024-09-27 08:35:28 |
合計ジャッジ時間 | 1,913 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 |
ソースコード
import sysreadline=sys.stdin.readlineN=10ans_lst=[None]*Nfor i in range(N):lst=[]for n in range(N):S=[0]*NS[i]=nprint(*S,sep="")c,s=input().split()c=int(c)if c==N:exit()lst.append(c)ans_lst[i]=lst.index(max(lst))print(*ans_lst,sep="")input()