結果

問題 No.678 2Dシューティングゲームの必殺ビーム
ユーザー convexineq
提出日時 2021-03-13 17:17:28
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 290 bytes
コンパイル時間 165 ms
コンパイル使用メモリ 82,592 KB
実行使用メモリ 60,684 KB
最終ジャッジ日時 2024-10-15 07:57:25
合計ジャッジ時間 1,792 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

n,L,R = map(int,input().split())
DLR = []
for i in range(n):
    l,u,r,d = map(int,input().split())
    DLR.append((d,l,r,i+1))
DLR.sort()
res = [0]*19300
for d,l,r,i in DLR:
    for j in range(l,r+1):
        res[j] = i
cnt = [0]*(n+1)
for i in res:
    cnt[i] = 1
print(*cnt[1:],sep="\n")
0