# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
743047 | 2023-05-17T07:38:17 Z | vjudge1 | Lasers (NOI19_lasers) | C++17 | 150 ms | 836 KB |
#include<iostream> using namespace std; int arr[10000010],ck; 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>>arr[i]; if(i>1 && arr[i-1]!=arr[i]){ ck = 1; } } if(!ck){ cout<<n; return 0; } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 150 ms | 492 KB | Execution killed with signal 11 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 150 ms | 492 KB | Execution killed with signal 11 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 25 ms | 836 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 212 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 25 ms | 836 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 150 ms | 492 KB | Execution killed with signal 11 |
2 | Halted | 0 ms | 0 KB | - |