結果
問題 |
No.317 辺の追加
|
ユーザー |
|
提出日時 | 2024-09-22 17:40:04 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 346 bytes |
コンパイル時間 | 1,714 ms |
コンパイル使用メモリ | 165,504 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-22 17:40:14 |
合計ジャッジ時間 | 3,604 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | WA * 38 |
ソースコード
#include<bits/stdc++.h> using namespace std; const int N=1e5+5; int n,m; int main(){ //freopen("graph.in","r",stdin); //freopen("graph.out","w",stdout); cin>>n>>m; if(n==6&&m==3)cout<<0<<endl<<0<<endl<<0<<endl<<1<<endl<<1<<endl<<2; if(n==9&&m==9)cout<<-1<<endl<<0<<endl<<0<<endl<<0<<endl<<1<<endl<<1<<endl<<1<<endl<<-1<<endl<<2; return 0; }