Pagini recente »
Borderou de evaluare (job #621249)
Borderou de evaluare (job #621249)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
36 | scanf("%d%d%d%d%d", &v[i].xs, &v[i].ys, &v[i].xe, &v[i].ye, &v[i].bonus);
| ~^ ~~~~~~~~
| | |
| int* short int*
| %hd
main.cpp:36:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
36 | scanf("%d%d%d%d%d", &v[i].xs, &v[i].ys, &v[i].xe, &v[i].ye, &v[i].bonus);
| ~^ ~~~~~~~~
| | |
| int* short int*
| %hd
main.cpp:36:21: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=]
36 | scanf("%d%d%d%d%d", &v[i].xs, &v[i].ys, &v[i].xe, &v[i].ye, &v[i].bonus);
| ~^ ~~~~~~~~
| | |
| int* short int*
| %hd
main.cpp:36:23: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'short int*' [-Wformat=]
36 | scanf("%d%d%d%d%d", &v[i].xs, &v[i].ys, &v[i].xe, &v[i].ye, &v[i].bonus);
| ~^ ~~~~~~~~
| | |
| int* short int*
| %hd
main.cpp:36:25: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'short int*' [-Wformat=]
36 | scanf("%d%d%d%d%d", &v[i].xs, &v[i].ys, &v[i].xe, &v[i].ye, &v[i].bonus);
| ~^ ~~~~~~~~~~~
| | |
| int* short int*
| %hd
main.cpp:28:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
28 | freopen("flori1.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:29:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | freopen("flori1.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:30:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
main.cpp:33:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
33 | scanf("%hd", &a[i][j]);
| ~~~~~^~~~~~~~~~~~~~~~~
main.cpp:34:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
34 | scanf("%d", &k);
| ~~~~~^~~~~~~~~~
main.cpp:36:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
36 | scanf("%d%d%d%d%d", &v[i].xs, &v[i].ys, &v[i].xe, &v[i].ye, &v[i].bonus);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
131 kb
|
OK
|
10
|
|
2
|
1 ms
|
131 kb
|
OK
|
10
|
|
3
|
1 ms
|
131 kb
|
OK
|
10
|
|
4
|
26 ms
|
782 kb
|
OK
|
10
|
|
5
|
37 ms
|
1044 kb
|
OK
|
10
|
|
6
|
80 ms
|
1179 kb
|
OK
|
10
|
|
7
|
223 ms
|
1830 kb
|
OK
|
10
|
|
8
|
226 ms
|
1572 kb
|
OK
|
10
|
|
9
|
360 ms
|
2486 kb
|
OK
|
10
|
|
10
|
392 ms
|
2490 kb
|
OK
|
10
|
|
Punctaj total
|
100
|