結果

問題 No.249 N言っちゃダメゲーム (2)
ユーザー latte0119latte0119
提出日時 2015-10-25 20:15:30
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 314 bytes
コンパイル時間 1,839 ms
コンパイル使用メモリ 143,404 KB
実行使用メモリ 4,372 KB
最終ジャッジ日時 2023-10-11 09:56:18
合計ジャッジ時間 1,891 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

#define rep(i,n) for(int i=0;i<(n);i++)
#define pb push_back
#define all(v) (v).begin(),(v).end()
typedef vector<int>vi;

int main(){
    int a,b;
    cin>>a>>b;
    if(a%(b+1)==1)cout<<0<<endl;
    else cout<<1000<<endl;
    
    rep(i,999)cin>>a>>b;
    return 0;
}
0