Pagini recente » Borderou de evaluare (job #2895085) | Borderou de evaluare (job #2361749) | Borderou de evaluare (job #2104964) | Borderou de evaluare (job #1822912) | Borderou de evaluare (job #2401855)
Borderou de evaluare (job #2401855)
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:56:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=i+1;j<=n;j++)
^~~
main.cpp:66: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 | 4ms | 262kb | Incorect | 0 | 0 |
| 6 | 4ms | 262kb | Incorect | 0 | 0 |
| 7 | 8ms | 262kb | Incorect | 0 | 0 |
| 8 | 9ms | 262kb | Incorect | 0 | 0 |
| 9 | 8ms | 262kb | Incorect | 0 | 0 |
| 10 | 8ms | 262kb | Incorect | 0 | 0 |
| 11 | 28ms | 393kb | Incorect | 0 | 0 |
| 12 | 19ms | 393kb | Incorect | 0 | 0 |
| 13 | 69ms | 524kb | Incorect | 0 | 0 |
| 14 | 58ms | 524kb | Incorect | 0 | 0 |
| 15 | 44ms | 524kb | Incorect | 0 | 0 |
| 16 | 71ms | 524kb | Incorect | 0 | 0 |
| 17 | 48ms | 524kb | Incorect | 0 | 0 |
| 18 | 37ms | 393kb | Incorect | 0 |
| 19 | 57ms | 524kb | Incorect | 0 | 0 |
| 20 | 66ms | 524kb | Incorect | 0 |
| Punctaj total | 0 |