Pagini recente » Borderou de evaluare (job #1405972) | Borderou de evaluare (job #1005462) | Borderou de evaluare (job #1370168) | Borderou de evaluare (job #1786412) | Borderou de evaluare (job #1284752)
Borderou de evaluare (job #1284752)
Raport evaluator
Compilare:
user.cpp:5:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main()
^
user.cpp: In function ‘int main()’:
user.cpp:10:16: warning: variable ‘poz’ set but not used [-Wunused-but-set-variable]
int pozneg,neg,poz,pozmax,inceputmax,s,smax,inceput,i,j,n,*a;
^
user.cpp:10:55: warning: unused variable ‘j’ [-Wunused-variable]
int pozneg,neg,poz,pozmax,inceputmax,s,smax,inceput,i,j,n,*a;
^
user.cpp:12:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d ",&n);
^
user.cpp:23:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d ",&a[i]);
^
user.cpp:48:45: warning: ‘pozneg’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(g,"%d %d %d ",neg,pozneg+1,pozneg+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 5 |
2 | 0ms | 260kb | OK | 5 |
3 | 0ms | 264kb | OK | 5 |
4 | 0ms | 264kb | OK | 5 |
5 | 0ms | 284kb | OK | 5 |
6 | 0ms | 304kb | OK | 5 |
7 | 4ms | 348kb | OK | 5 |
8 | 4ms | 376kb | OK | 5 |
9 | 24ms | 524kb | OK | 5 |
10 | 52ms | 788kb | OK | 5 |
11 | 104ms | 1580kb | OK | 5 |
12 | 152ms | 2372kb | OK | 5 |
13 | 208ms | 3164kb | OK | 5 |
14 | 260ms | 3956kb | OK | 5 |
15 | 1192ms | 19532kb | OK | 5 |
16 | 1288ms | 21644kb | OK | 5 |
17 | 1364ms | 21644kb | OK | 5 |
18 | 1476ms | 23492kb | OK | 5 |
19 | 1436ms | 23492kb | OK | 5 |
20 | 1452ms | 23492kb | OK | 5 |
Punctaj total | 100 |