Pagini recente » Borderou de evaluare (job #1045334) | Borderou de evaluare (job #142472) | Borderou de evaluare (job #3169466) | Borderou de evaluare (job #1964307) | Borderou de evaluare (job #1296784)
Borderou de evaluare (job #1296784)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&m);
^
user.cpp:23:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:32:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",sum);
^
user.cpp:21:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distancesum.in","r",stdin);
^
user.cpp:22:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distancesum.out","w",stdout);
^
user.cpp:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:25:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p[i].x,&p[i].y);
^
user.cpp:28:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a.x,&a.y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Incorect | 0 |
2 | 24ms | 264kb | Incorect | 0 |
3 | 24ms | 260kb | Incorect | 0 |
4 | Depăşit | 492kb | Time limit exceeded. | 0 |
5 | Depăşit | 492kb | Time limit exceeded. | 0 |
6 | Depăşit | 1032kb | Time limit exceeded. | 0 |
7 | Depăşit | 1036kb | Time limit exceeded. | 0 |
8 | Depăşit | 1036kb | Time limit exceeded. | 0 |
9 | Depăşit | 1032kb | Time limit exceeded. | 0 |
10 | Depăşit | 1032kb | Time limit exceeded. | 0 |
Punctaj total | 0 |