結果

問題 No.3092 3-2-SAT
ユーザー siganaisiganai
提出日時 2022-04-01 21:51:58
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 158 ms / 2,000 ms
コード長 149 bytes
コンパイル時間 347 ms
コンパイル使用メモリ 87,320 KB
実行使用メモリ 80,012 KB
最終ジャッジ日時 2023-08-12 18:41:30
合計ジャッジ時間 3,709 ms
ジャッジサーバーID
(参考情報)
judge7 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,380 KB
testcase_01 AC 116 ms
80,012 KB
testcase_02 AC 130 ms
79,664 KB
testcase_03 AC 125 ms
79,436 KB
testcase_04 AC 158 ms
79,928 KB
testcase_05 AC 125 ms
79,636 KB
testcase_06 AC 73 ms
71,300 KB
testcase_07 AC 72 ms
71,320 KB
testcase_08 AC 73 ms
71,356 KB
testcase_09 AC 73 ms
71,156 KB
testcase_10 AC 74 ms
71,428 KB
testcase_11 AC 78 ms
71,268 KB
testcase_12 AC 75 ms
71,376 KB
testcase_13 AC 72 ms
71,160 KB
testcase_14 AC 70 ms
71,308 KB
testcase_15 AC 72 ms
71,324 KB
testcase_16 AC 72 ms
71,428 KB
testcase_17 AC 73 ms
71,384 KB
testcase_18 AC 74 ms
71,408 KB
testcase_19 AC 75 ms
71,612 KB
testcase_20 AC 73 ms
71,320 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m=map(int,input().split())
for _ in range(m):
    a,b,c,d=map(int,input().split())
    if c < 0:
        print(-1)
        exit()
print(*([1] * n))
0