結果

問題 No.249 N言っちゃダメゲーム (2)
ユーザー CleyLCleyL
提出日時 2020-02-24 03:22:42
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 196 bytes
コンパイル時間 578 ms
コンパイル使用メモリ 64,180 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-04-19 10:17:09
合計ジャッジ時間 1,182 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
    int ans = 0;
    for(int i = 0; 1000 > i; i++){
        long long a,b;cin>>a>>b;
        if(a%(b+1))ans++;
    }
    cout << ans << endl;
}
0