結果

問題 No.3092 3-2-SAT
ユーザー 👑 rin204rin204
提出日時 2022-04-01 21:43:35
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 156 ms / 2,000 ms
コード長 172 bytes
コンパイル時間 295 ms
コンパイル使用メモリ 87,044 KB
実行使用メモリ 80,220 KB
最終ジャッジ日時 2023-08-12 18:27:03
合計ジャッジ時間 3,791 ms
ジャッジサーバーID
(参考情報)
judge11 / judge9
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,284 KB
testcase_01 AC 119 ms
79,800 KB
testcase_02 AC 131 ms
79,576 KB
testcase_03 AC 122 ms
79,216 KB
testcase_04 AC 156 ms
80,220 KB
testcase_05 AC 124 ms
79,304 KB
testcase_06 AC 71 ms
71,500 KB
testcase_07 AC 71 ms
71,352 KB
testcase_08 AC 74 ms
71,328 KB
testcase_09 AC 72 ms
71,264 KB
testcase_10 AC 71 ms
71,360 KB
testcase_11 AC 72 ms
71,272 KB
testcase_12 AC 73 ms
71,500 KB
testcase_13 AC 77 ms
71,276 KB
testcase_14 AC 76 ms
71,328 KB
testcase_15 AC 73 ms
71,508 KB
testcase_16 AC 73 ms
71,568 KB
testcase_17 AC 70 ms
71,332 KB
testcase_18 AC 71 ms
71,104 KB
testcase_19 AC 71 ms
71,396 KB
testcase_20 AC 71 ms
71,504 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, m = map(int, input().split())
for _ in range(m):
    p, q, a, b = map(int, input().split())
    if a < 0:
        print(-1)
        exit()

print(*[1 for _ in range(n)])
0