結果

問題 No.3092 3-2-SAT
ユーザー souta-1326souta-1326
提出日時 2022-04-01 22:14:36
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 309 ms / 2,000 ms
コード長 137 bytes
コンパイル時間 291 ms
コンパイル使用メモリ 10,540 KB
実行使用メモリ 9,640 KB
最終ジャッジ日時 2023-08-12 19:15:15
合計ジャッジ時間 2,917 ms
ジャッジサーバーID
(参考情報)
judge8 / judge10
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,848 KB
testcase_01 AC 78 ms
9,568 KB
testcase_02 AC 169 ms
9,448 KB
testcase_03 AC 118 ms
9,400 KB
testcase_04 AC 309 ms
9,640 KB
testcase_05 AC 133 ms
9,440 KB
testcase_06 AC 15 ms
8,104 KB
testcase_07 AC 15 ms
8,232 KB
testcase_08 AC 16 ms
8,244 KB
testcase_09 AC 16 ms
8,248 KB
testcase_10 AC 15 ms
8,208 KB
testcase_11 AC 15 ms
7,976 KB
testcase_12 AC 16 ms
7,904 KB
testcase_13 AC 15 ms
7,796 KB
testcase_14 AC 15 ms
7,816 KB
testcase_15 AC 15 ms
7,812 KB
testcase_16 AC 15 ms
8,168 KB
testcase_17 AC 15 ms
8,020 KB
testcase_18 AC 15 ms
8,196 KB
testcase_19 AC 15 ms
8,104 KB
testcase_20 AC 15 ms
8,064 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M=map(int,input().split())
for i in range(M):
    p,q,a,b=map(int,input().split())
    if a<0:
        print(-1);exit()
print(*([1]*N))
0