Pagini recente » Borderou de evaluare (job #1114303) | Cod sursa (job #169727) | Borderou de evaluare (job #2885786) | Borderou de evaluare (job #719309) | Borderou de evaluare (job #1284740)
Borderou de evaluare (job #1284740)
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:11: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:22: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:37:1: warning: ‘neg’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if((a[i]>neg)&&(a[i]<1)){
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OK | 5 |
| 2 | 0ms | 252kb | OK | 5 |
| 3 | 0ms | 256kb | Incorect | 0 |
| 4 | 0ms | 256kb | OK | 5 |
| 5 | 0ms | 276kb | OK | 5 |
| 6 | 0ms | 300kb | OK | 5 |
| 7 | 4ms | 340kb | OK | 5 |
| 8 | 4ms | 368kb | OK | 5 |
| 9 | 20ms | 524kb | OK | 5 |
| 10 | 52ms | 788kb | OK | 5 |
| 11 | 100ms | 1580kb | OK | 5 |
| 12 | 152ms | 2372kb | OK | 5 |
| 13 | 208ms | 3164kb | OK | 5 |
| 14 | 264ms | 3956kb | OK | 5 |
| 15 | 1204ms | 19532kb | OK | 5 |
| 16 | 1336ms | 21644kb | OK | 5 |
| 17 | 1320ms | 21644kb | OK | 5 |
| 18 | 1444ms | 23492kb | OK | 5 |
| 19 | 1460ms | 23492kb | OK | 5 |
| 20 | 1440ms | 23492kb | OK | 5 |
| Punctaj total | 95 |