Pagini recente » Borderou de evaluare (job #1774697) | Borderou de evaluare (job #355452) | Borderou de evaluare (job #873486) | Borderou de evaluare (job #330620) | Borderou de evaluare (job #2301464)
Borderou de evaluare (job #2301464)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:71:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
main.cpp:83:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
first=last=1;
^~~~~
main.cpp:19:76: warning: unused variable 'h' [-Wunused-variable]
int n,i,j,p,first,last,ql[10008],qc[10008],cnt=0,maxim,maxi=-1,l,c,x,y,h,xx,yy,xxx,yyy;
^
main.cpp:17:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("castel3.in","r",stdin);
^
main.cpp:18:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("castel3.out","w",stdout);
^
main.cpp:141:48: warning: 'yyy' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<x<<" "<<y<<" "<<xxx<<" "<<yyy;
^
main.cpp:141:40: warning: 'xxx' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<x<<" "<<y<<" "<<xxx<<" "<<yyy;
^~~
main.cpp:141:30: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<x<<" "<<y<<" "<<xxx<<" "<<yyy;
^~~
main.cpp:141:22: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<x<<" "<<y<<" "<<xxx<<" "<<yyy;
^~~
main.cpp:91:32: warning: 'maxim' may be used uninitialized in this function [-Wmaybe-uninitialized]
maxim++;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Corect | 2 |
| 2 | 2ms | 131kb | Corect | 5 |
| 3 | 2ms | 131kb | Corect | 3 |
| 4 | 2ms | 131kb | Corect | 5 |
| 5 | 3ms | 131kb | Corect | 5 |
| 6 | 6ms | 262kb | Corect | 5 |
| 7 | 16ms | 262kb | Corect | 5 |
| 8 | 4ms | 131kb | Corect | 5 |
| 9 | 6ms | 262kb | Corect | 5 |
| 10 | 17ms | 262kb | Corect | 5 |
| 11 | 8ms | 262kb | Corect | 5 |
| 12 | 2ms | 131kb | Corect | 5 |
| 13 | 2ms | 131kb | Corect | 5 |
| 14 | 3ms | 131kb | Corect | 5 |
| 15 | 3ms | 131kb | Corect | 5 |
| 16 | 4ms | 262kb | Corect | 5 |
| 17 | 6ms | 262kb | Corect | 5 |
| 18 | 18ms | 262kb | Corect | 5 |
| 19 | 8ms | 262kb | Corect | 5 |
| 20 | 16ms | 262kb | Corect | 5 |
| 21 | 7ms | 262kb | Corect | 5 |
| Punctaj total | 100 |