Pagini recente » Borderou de evaluare (job #1691672) | Borderou de evaluare (job #1547652) | Borderou de evaluare (job #3140460) | Borderou de evaluare (job #2031946) | Borderou de evaluare (job #2193730)
Borderou de evaluare (job #2193730)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
user.cpp:23:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
sort(v+1,v+n+1,cmp);
^~~~
user.cpp:46:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
user.cpp:48:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
printf("%d\n",nmax);
^~~~~~
user.cpp:17:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concert.in","r",stdin);
^
user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concert.out","w",stdout);
^
user.cpp:20:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:22:62: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d",&v[i].x,&v[i].y,&v[i].z,&v[i].t,&v[i].p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 760kb | Ok! | 10 |
2 | 0ms | 876kb | Ok! | 10 |
3 | 0ms | 756kb | Ok! | 10 |
4 | 0ms | 792kb | Ok! | 10 |
5 | 0ms | 872kb | Ok! | 10 |
6 | 0ms | 752kb | Ok! | 10 |
7 | 0ms | 868kb | Ok! | 10 |
8 | 0ms | 752kb | Ok! | 10 |
9 | 0ms | 936kb | Ok! | 10 |
10 | 4ms | 752kb | Ok! | 10 |
Punctaj total | 100 |