Pagini recente » Borderou de evaluare (job #418868) | Borderou de evaluare (job #2831117) | Borderou de evaluare (job #1815101) | Borderou de evaluare (job #1636784) | Borderou de evaluare (job #1745444)
Borderou de evaluare (job #1745444)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int)’:
user.cpp:63:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(ant+i<env.size() && t>env[ant+i].x)
^
user.cpp: In function ‘int main()’:
user.cpp:85:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<ls.size(); ++i) { /// Select 'lower envelope' lines
^
user.cpp:95:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<stk.size(); ++i) { /// Make 'lower envelope'
^
user.cpp:72:15: warning: unused variable ‘a’ [-Wunused-variable]
int n, q, a, b, t;
^
user.cpp:72:18: warning: unused variable ‘b’ [-Wunused-variable]
int n, q, a, b, t;
^
user.cpp:70:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vmin.in", "r", stdin);
^
user.cpp:71:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vmin.out", "w", stdout);
^
user.cpp:74:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&q);
^
user.cpp:78:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&ls[i].a,&ls[i].b);
^
user.cpp:103:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 0ms | 440kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 0ms | 456kb | OK | 10 |
5 | 28ms | 572kb | OK | 10 |
6 | 96ms | 688kb | OK | 10 |
7 | 112ms | 924kb | OK | 10 |
8 | 340ms | 1608kb | OK | 10 |
9 | Depăşit | 1612kb | Time limit exceeded. | 0 |
10 | Depăşit | 1608kb | Time limit exceeded. | 0 |
Punctaj total | 80 |