結果

問題 No.249 N言っちゃダメゲーム (2)
ユーザー 👑 CleyL
提出日時 2020-02-24 03:22:42
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 196 bytes
コンパイル時間 547 ms
コンパイル使用メモリ 64,280 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-11 02:37:06
合計ジャッジ時間 1,164 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 3
権限があれば一括ダウンロードができます

ソースコード

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