# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
105011 |
2019-04-10T06:55:58 Z |
puyu_liao |
Boat (APIO16_boat) |
C++14 |
|
3 ms |
384 KB |
#include<bits/stdc++.h>
#include<stdint.h>
using namespace std;
#define IOS {cin.tie(0);ios_base::sync_with_stdio(false);}
#define N 300005
int in[N];
int main(){
IOS;
int n;
cin >> n;
for(int i=0;i<n;i++) cin >> in[i] >> in[i];
if(is_sorted(in,in+n)) cout << 1;
else cout << 0;
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
3 ms |
384 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
3 ms |
384 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
2 ms |
384 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
3 ms |
384 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |