Borderou de evaluare (job #1296880)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d",&V[i].x,&V[i].y);
^
user.cpp:19:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:22:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d",&X,&Y);
^
user.cpp:22:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:13:37: 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:14:39: 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:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&M);
^
user.cpp:19:34: 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);
^
user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&X,&Y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 8ms | 256kb | OK | 10 |
3 | 8ms | 260kb | OK | 10 |
4 | Depăşit | 488kb | Time limit exceeded. | 0 |
5 | Depăşit | 484kb | Time limit exceeded. | 0 |
6 | 60ms | 1008kb | Wall time limit exceeded. | 0 |
7 | Depăşit | 1028kb | Time limit exceeded. | 0 |
8 | Depăşit | 1032kb | Time limit exceeded. | 0 |
9 | Depăşit | 1032kb | Time limit exceeded. | 0 |
10 | 60ms | 1008kb | Wall time limit exceeded. | 0 |
Punctaj total | 30 |