結果

問題 No.8092 3-2-SAT
ユーザー siganaisiganai
提出日時 2022-04-01 21:51:58
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 149 bytes
コンパイル時間 449 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 78,848 KB
最終ジャッジ日時 2024-11-20 08:58:20
合計ジャッジ時間 2,544 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

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