Submission #743006

#TimeUsernameProblemLanguageResultExecution timeMemory
743006vjudge1Lightning Rod (NOI18_lightningrod)C++17
0 / 100
2084 ms239872 KiB
#include<bits/stdc++.h> using namespace std; int n; set<int> sx,sy; int main() { ios_base::sync_with_stdio(0),cin.tie(0),cout.tie(0); cin>>n; for(int i = 0; i<n; ++i){ int x,y;cin>>x>>y; sx.insert(x); sy.insert(y); } if(sy.size()==1){ cout<<sx.size(); 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...