結果

問題 No.2547 Did you enjoy Chofu Festival?
ユーザー cho435
提出日時 2023-11-25 16:18:02
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 228 bytes
コンパイル時間 1,925 ms
コンパイル使用メモリ 192,208 KB
最終ジャッジ日時 2025-02-18 00:57:23
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using ll = long long;
using namespace std;
#define rep(i,n) for(int i=0;i<(int)n;i++)

int main(){
	int n;
	cin>>n;
	int ans=0;
	rep(i,n){
		int a,b;
		cin>>a>>b;
		if(a<=b) ans++;
	}
	cout<<ans<<endl;
}
0