Pagini recente »
Borderou de evaluare (job #794865)
|
incalzirea_de_seara
|
Borderou de evaluare (job #802016)
|
Borderou de evaluare (job #369110)
|
Borderou de evaluare (job #585429)
Borderou de evaluare (job #585429)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:35:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short unsigned int*' [-Wformat=]
35 | scanf("%d%d%d",&v[i].x,&v[i].y,&v[i].cost);
| ~^ ~~~~~~~
| | |
| int* short unsigned int*
| %hd
main.cpp:35:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short unsigned int*' [-Wformat=]
35 | scanf("%d%d%d",&v[i].x,&v[i].y,&v[i].cost);
| ~^ ~~~~~~~
| | |
| int* short unsigned int*
| %hd
main.cpp:35:21: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short unsigned int*' [-Wformat=]
35 | scanf("%d%d%d",&v[i].x,&v[i].y,&v[i].cost);
| ~^ ~~~~~~~~~~
| | |
| int* short unsigned int*
| %hd
main.cpp:41:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short unsigned int*' [-Wformat=]
41 | scanf("%d",&p[i].x);
| ~^ ~~~~~~~
| | |
| | short unsigned int*
| int*
| %hd
main.cpp:30:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
30 | freopen("flota.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:31:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
31 | freopen("flota.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:33:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
33 | scanf("%d%d%d",&n,&m,&q);
| ~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp:35:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
35 | scanf("%d%d%d",&v[i].x,&v[i].y,&v[i].cost);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:41:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
41 | scanf("%d",&p[i].x);
| ~~~~~^~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
262 kb
|
Incorect
|
0
|
2
|
8 ms
|
393 kb
|
Incorect
|
0
|
3
|
1 ms
|
262 kb
|
Incorect
|
0
|
4
|
625 ms
|
3010 kb
|
Incorect
|
0
|
5
|
268 ms
|
913 kb
|
Incorect
|
0
|
6
|
1500 ms
|
2228 kb
|
Time limit exceeded
|
0
|
7
|
1504 ms
|
3534 kb
|
Time limit exceeded
|
0
|
8
|
1502 ms
|
5758 kb
|
Time limit exceeded
|
0
|
9
|
1506 ms
|
6811 kb
|
Time limit exceeded
|
0
|
10
|
1503 ms
|
6680 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
0
|