Pagini recente » Borderou de evaluare (job #2461300) | Borderou de evaluare (job #2986487) | Borderou de evaluare (job #1905677) | Borderou de evaluare (job #2424602) | Borderou de evaluare (job #2401846)
Borderou de evaluare (job #2401846)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;++i)
^~~
main.cpp:32:8: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
sort(v+1,v+n+1,cmp);
^~~~
main.cpp:50:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=i+1;j<=n;j++)
^~~
main.cpp:60:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
printf("%lld\n",1LL*n*(n-1)*(n-2)*(n-3)/24-sum);
^~~~~~
main.cpp:28:9: warning: unused variable 'm' [-Wunused-variable]
int m ,n,i,j;
^
main.cpp:26:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("patrulatere.in","r",stdin);
^
main.cpp:27:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("patrulatere.out","w",stdout);
^
main.cpp:29:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:31:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].x,&v[i].y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | Incorect | 0 | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | Incorect | 0 | 0 |
| 4 | 2ms | 131kb | Incorect | 0 |
| 5 | 3ms | 131kb | Incorect | 0 | 0 |
| 6 | 3ms | 262kb | Incorect | 0 | 0 |
| 7 | 5ms | 262kb | Incorect | 0 | 0 |
| 8 | 5ms | 262kb | Incorect | 0 | 0 |
| 9 | 5ms | 262kb | Incorect | 0 | 0 |
| 10 | 5ms | 262kb | Incorect | 0 | 0 |
| 11 | 16ms | 262kb | Incorect | 0 | 0 |
| 12 | 11ms | 262kb | Incorect | 0 | 0 |
| 13 | 40ms | 393kb | Incorect | 0 | 0 |
| 14 | 34ms | 393kb | Incorect | 0 | 0 |
| 15 | 25ms | 393kb | Incorect | 0 | 0 |
| 16 | 42ms | 393kb | Incorect | 0 | 0 |
| 17 | 28ms | 393kb | Incorect | 0 | 0 |
| 18 | 22ms | 393kb | Incorect | 0 |
| 19 | 33ms | 393kb | Incorect | 0 | 0 |
| 20 | 39ms | 393kb | Incorect | 0 |
| Punctaj total | 0 |