# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
743050 |
2023-05-17T07:39:30 Z |
vjudge1 |
Lasers (NOI19_lasers) |
C++17 |
|
1000 ms |
212 KB |
#include<iostream>
using namespace std;
int arr[10000010],ck,tmp;
int main()
{
ios_base::sync_with_stdio(0),cin.tie(0);
int n; cin>>n;
for(int i = 1; i<=n; ++i){
int x,y; cin>>x>>y;
if(i>1 && tmp!=y) ck = 1;
tmp = y;
}
if(!ck){
cout<<n;
return 0;
}
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
1082 ms |
212 KB |
Time limit exceeded |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
1082 ms |
212 KB |
Time limit exceeded |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
25 ms |
212 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
212 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
25 ms |
212 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
1082 ms |
212 KB |
Time limit exceeded |
2 |
Halted |
0 ms |
0 KB |
- |