結果
問題 |
No.531 エヌスクミ島の平和協定
|
ユーザー |
|
提出日時 | 2017-06-22 22:18:23 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 224 bytes |
コンパイル時間 | 420 ms |
コンパイル使用メモリ | 62,080 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-05 11:09:11 |
合計ジャッジ時間 | 1,356 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 36 WA * 1 |
ソースコード
#include<iostream> typedef long long int ll; using namespace std; ll N,M; int main(){ ios::sync_with_stdio(false); cin>>N>>M; if(N<=M)cout<<"1"; else if(N==M*2)cout<<"2"; else cout<<"-1"; return 0; }