結果
問題 |
No.2547 Did you enjoy Chofu Festival?
|
ユーザー |
|
提出日時 | 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 |
ソースコード
#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; }