結果

問題 No.678 2Dシューティングゲームの必殺ビーム
ユーザー convexineqconvexineq
提出日時 2021-03-13 17:17:28
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 290 bytes
コンパイル時間 167 ms
コンパイル使用メモリ 82,248 KB
実行使用メモリ 60,444 KB
最終ジャッジ日時 2024-04-23 08:07:53
合計ジャッジ時間 1,790 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
57,776 KB
testcase_01 AC 42 ms
57,716 KB
testcase_02 WA -
testcase_03 AC 41 ms
57,520 KB
testcase_04 AC 42 ms
58,316 KB
testcase_05 WA -
testcase_06 AC 44 ms
59,536 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 45 ms
60,040 KB
testcase_15 WA -
testcase_16 AC 43 ms
60,056 KB
testcase_17 WA -
権限があれば一括ダウンロードができます

ソースコード

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