結果
| 問題 |
No.893 お客様を誘導せよ
|
| コンテスト | |
| ユーザー |
komkompi
|
| 提出日時 | 2019-11-12 07:49:50 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 150 ms / 2,000 ms |
| コード長 | 263 bytes |
| コンパイル時間 | 255 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 17,280 KB |
| 最終ジャッジ日時 | 2024-09-17 10:05:59 |
| 合計ジャッジ時間 | 1,966 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 11 |
ソースコード
N=int(input())
P=[]
times=0
for _ in range(N):
P.append(list(map(int,input().split()))[::-1])
times=max(len(P[-1]),times)
#print(P)
ans=[]
for _ in range(times):
for item in P:
if len(item)>1:
ans.append(item.pop(-2))
print(*ans)
komkompi