Pagini recente » Borderou de evaluare (job #3239114) | Borderou de evaluare (job #156948) | Cod sursa (job #3127240) | Borderou de evaluare (job #2103279) | Borderou de evaluare (job #1608891)
Borderou de evaluare (job #1608891)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:37: warning: unused variable ‘mini’ [-Wunused-variable]
long long int n,a[100002],c,s=0,mini=100001,poz1;
^
user.cpp:9:49: warning: unused variable ‘poz1’ [-Wunused-variable]
long long int n,a[100002],c,s=0,mini=100001,poz1;
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("roata.in", "r", stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("roata.out", "w", stdout);
^
user.cpp:10:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
user.cpp:11:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &c);
^
user.cpp:14:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &a[i]);
^
user.cpp:34:9: warning: ‘ok’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(ok==1) n++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | Cerinta 1 corecta ! | 1 |
2 | 0ms | 440kb | Cerinta 1 corecta ! | 1 |
3 | 0ms | 444kb | Cerinta 1 corecta ! | 1 |
4 | 0ms | 448kb | Cerinta 1 corecta ! | 1 |
5 | 0ms | 448kb | Cerinta 2 incorecta ! | 3 |
6 | 36ms | 448kb | Cerinta 1 corecta ! | 1 |
7 | 0ms | 448kb | Cerinta 1 corecta ! | 1 |
8 | 0ms | 444kb | Cerinta 1 corecta ! | 1 |
9 | 0ms | 448kb | Cerinta 1 corecta ! | 1 |
10 | 0ms | 448kb | Cerinta 1 corecta ! | 1 |
11 | Depăşit | 472kb | Time limit exceeded. | 0 |
12 | Depăşit | 452kb | Time limit exceeded. | 0 |
13 | Depăşit | 532kb | Time limit exceeded. | 0 |
14 | Depăşit | 628kb | Time limit exceeded. | 0 |
15 | Depăşit | 788kb | Time limit exceeded. | 0 |
16 | Depăşit | 936kb | Time limit exceeded. | 0 |
17 | Depăşit | 1208kb | Time limit exceeded. | 0 |
18 | Depăşit | 1208kb | Time limit exceeded. | 0 |
19 | Depăşit | 1208kb | Time limit exceeded. | 0 |
20 | Depăşit | 1208kb | Time limit exceeded. | 0 |
Punctaj total | 12 |