Pagini recente » Borderou de evaluare (job #2522874) | Borderou de evaluare (job #1082035) | Borderou de evaluare (job #920678) | CMMDC | Borderou de evaluare (job #1738607)
Borderou de evaluare (job #1738607)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:69:51: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for( i = 1; i <= N; ++i ) scanf("%d",&v[i]);
^
user.cpp:46:13: warning: unused variable ‘st’ [-Wunused-variable]
int T,i,st,dr,mid,p1,p2,x;
^
user.cpp:46:16: warning: unused variable ‘dr’ [-Wunused-variable]
int T,i,st,dr,mid,p1,p2,x;
^
user.cpp:46:19: warning: unused variable ‘mid’ [-Wunused-variable]
int T,i,st,dr,mid,p1,p2,x;
^
user.cpp:47:21: warning: unused variable ‘f1’ [-Wunused-variable]
llt maxim,minim,f1,f2;
^
user.cpp:47:24: warning: unused variable ‘f2’ [-Wunused-variable]
llt maxim,minim,f1,f2;
^
user.cpp:43:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.in","r",stdin);
^
user.cpp:44:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.out","w",stdout);
^
user.cpp:49:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:53:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:58:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:68:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&N,&p1,&p2);
^
user.cpp:69:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( i = 1; i <= N; ++i ) scanf("%d",&v[i]);
^
user.cpp: In function ‘long long int find_value(long long int)’:
user.cpp:39:18: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return ans + 1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 76ms | 264kb | OK | 5 |
| 2 | 64ms | 264kb | OK | 5 |
| 3 | 44ms | 260kb | OK | 5 |
| 4 | 44ms | 260kb | OK | 5 |
| 5 | 60ms | 264kb | OK | 5 |
| 6 | 0ms | 264kb | OK | 5 |
| 7 | 0ms | 260kb | OK | 5 |
| 8 | 320ms | 544kb | OK | 5 |
| 9 | 404ms | 608kb | OK | 5 |
| 10 | 88ms | 356kb | OK | 5 |
| 11 | 428ms | 624kb | OK | 5 |
| 12 | 304ms | 540kb | OK | 5 |
| 13 | 380ms | 596kb | OK | 5 |
| 14 | Depăşit | 1856kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 2476kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 1660kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 2424kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 2148kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1636kb | Time limit exceeded. | 0 |
| 20 | 24ms | 260kb | OK | 5 |
| Punctaj total | 70 |