結果
問題 | No.2678 Minmax Independent Set (Hack) |
ユーザー |
![]() |
提出日時 | 2024-03-22 01:59:47 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 44 ms / 2,000 ms |
コード長 | 299 bytes |
コンパイル時間 | 263 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,904 KB |
最終ジャッジ日時 | 2024-09-30 10:27:49 |
合計ジャッジ時間 | 1,004 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 |
ソースコード
EDGE=[]for i in range(1,1003):EDGE.append((i,i+1))now=1004for j in range(4):EDGE.append((1,now))now+=1for i in range(2,1003):for j in range(6):EDGE.append((i,now))EDGE.append((now,now+1))now+=2print(len(EDGE)+1)for x,y in EDGE:print(x,y)