Submission #743061

#TimeUsernameProblemLanguageResultExecution timeMemory
743061vjudge1Lightning Rod (NOI18_lightningrod)C++17
4 / 100
1651 ms4880 KiB
#include<bits/stdc++.h> using namespace std; #define iii tuple<int,int,int> int n; int cnt = 0; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cin >> n; for(int i=1;i<=n;++i) { int x,y; cin >> x >> y; if(y == 1) ++cnt; } cout << cnt; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...