# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1015096 | 2024-07-06T05:23:00 Z | vjudge1 | Gap (APIO16_gap) | C++17 | 23 ms | 2328 KB |
#include "gap.h" #include <bits/stdc++.h> using namespace std; #define int long long int findGap(signed t,signed n) { int a[n],i=0,j=n-1,*mn,*mx,lim1=0,lim2=1e18; while (i<=j) { MinMax(lim1,lim2,mn,mx); a[i++]=*mn; a[j--]=*mx; lim1=*mn+1; lim2=*mx+1; } int ans=0; for (int i=0;i<n-1;i++) ans=max(ans,a[i+1]-a[i]); return ans; }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Runtime error | 1 ms | 344 KB | Execution failed because the return code was nonzero |
2 | Runtime error | 0 ms | 508 KB | Execution failed because the return code was nonzero |
3 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
4 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
5 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
6 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
7 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
8 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
9 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
10 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
11 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
12 | Runtime error | 1 ms | 344 KB | Execution failed because the return code was nonzero |
13 | Runtime error | 1 ms | 344 KB | Execution failed because the return code was nonzero |
14 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
15 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
16 | Runtime error | 3 ms | 600 KB | Execution failed because the return code was nonzero |
17 | Runtime error | 6 ms | 816 KB | Execution failed because the return code was nonzero |
18 | Runtime error | 3 ms | 600 KB | Execution failed because the return code was nonzero |
19 | Runtime error | 3 ms | 616 KB | Execution failed because the return code was nonzero |
20 | Runtime error | 2 ms | 608 KB | Execution failed because the return code was nonzero |
21 | Runtime error | 23 ms | 1880 KB | Execution failed because the return code was nonzero |
22 | Runtime error | 13 ms | 1852 KB | Execution failed because the return code was nonzero |
23 | Runtime error | 12 ms | 1844 KB | Execution failed because the return code was nonzero |
24 | Runtime error | 19 ms | 1880 KB | Execution failed because the return code was nonzero |
25 | Runtime error | 10 ms | 1880 KB | Execution failed because the return code was nonzero |
26 | Runtime error | 17 ms | 1804 KB | Execution failed because the return code was nonzero |
27 | Runtime error | 13 ms | 1880 KB | Execution failed because the return code was nonzero |
28 | Runtime error | 13 ms | 1968 KB | Execution failed because the return code was nonzero |
29 | Runtime error | 12 ms | 1880 KB | Execution failed because the return code was nonzero |
30 | Runtime error | 8 ms | 1880 KB | Execution failed because the return code was nonzero |
31 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
32 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
2 | Runtime error | 0 ms | 360 KB | Execution failed because the return code was nonzero |
3 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
4 | Runtime error | 1 ms | 344 KB | Execution failed because the return code was nonzero |
5 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
6 | Runtime error | 1 ms | 344 KB | Execution failed because the return code was nonzero |
7 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
8 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
9 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
10 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
11 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
12 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
13 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
14 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |
15 | Runtime error | 1 ms | 344 KB | Execution failed because the return code was nonzero |
16 | Runtime error | 3 ms | 692 KB | Execution failed because the return code was nonzero |
17 | Runtime error | 6 ms | 600 KB | Execution failed because the return code was nonzero |
18 | Runtime error | 3 ms | 600 KB | Execution failed because the return code was nonzero |
19 | Runtime error | 4 ms | 600 KB | Execution failed because the return code was nonzero |
20 | Runtime error | 2 ms | 600 KB | Execution failed because the return code was nonzero |
21 | Runtime error | 13 ms | 1880 KB | Execution failed because the return code was nonzero |
22 | Runtime error | 12 ms | 1880 KB | Execution failed because the return code was nonzero |
23 | Runtime error | 12 ms | 1908 KB | Execution failed because the return code was nonzero |
24 | Runtime error | 12 ms | 1880 KB | Execution failed because the return code was nonzero |
25 | Runtime error | 18 ms | 1880 KB | Execution failed because the return code was nonzero |
26 | Runtime error | 17 ms | 1812 KB | Execution failed because the return code was nonzero |
27 | Runtime error | 12 ms | 1880 KB | Execution failed because the return code was nonzero |
28 | Runtime error | 12 ms | 1880 KB | Execution failed because the return code was nonzero |
29 | Runtime error | 12 ms | 1880 KB | Execution failed because the return code was nonzero |
30 | Runtime error | 15 ms | 2328 KB | Execution failed because the return code was nonzero |
31 | Runtime error | 1 ms | 344 KB | Execution failed because the return code was nonzero |
32 | Runtime error | 0 ms | 344 KB | Execution failed because the return code was nonzero |