結果

問題 No.3092 3-2-SAT
ユーザー hiro1729hiro1729
提出日時 2023-09-09 08:49:55
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 156 ms / 2,000 ms
コード長 143 bytes
コンパイル時間 274 ms
コンパイル使用メモリ 87,060 KB
実行使用メモリ 80,080 KB
最終ジャッジ日時 2023-09-09 08:50:00
合計ジャッジ時間 4,700 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,092 KB
testcase_01 AC 110 ms
79,828 KB
testcase_02 AC 128 ms
79,664 KB
testcase_03 AC 115 ms
79,520 KB
testcase_04 AC 156 ms
80,080 KB
testcase_05 AC 118 ms
79,304 KB
testcase_06 AC 66 ms
71,460 KB
testcase_07 AC 67 ms
71,104 KB
testcase_08 AC 68 ms
71,572 KB
testcase_09 AC 66 ms
71,404 KB
testcase_10 AC 67 ms
71,368 KB
testcase_11 AC 66 ms
71,376 KB
testcase_12 AC 66 ms
71,500 KB
testcase_13 AC 67 ms
71,404 KB
testcase_14 AC 67 ms
71,416 KB
testcase_15 AC 66 ms
71,372 KB
testcase_16 AC 67 ms
71,532 KB
testcase_17 AC 68 ms
71,372 KB
testcase_18 AC 68 ms
71,252 KB
testcase_19 AC 68 ms
71,488 KB
testcase_20 AC 69 ms
71,420 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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