Pagini recente »
Borderou de evaluare (job #585421)
Borderou de evaluare (job #585421)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30:16: 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:16: 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:39:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
39 | scanf("%d",&p[i].x);
| ~~~~~^~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
262 kb
|
Incorect
|
0
|
2
|
1 ms
|
262 kb
|
Killed by Signal 11
|
0
|
3
|
1 ms
|
262 kb
|
Killed by Signal 11
|
0
|
4
|
1 ms
|
262 kb
|
Killed by Signal 11
|
0
|
5
|
1 ms
|
262 kb
|
Killed by Signal 11
|
0
|
6
|
1 ms
|
262 kb
|
Killed by Signal 11
|
0
|
7
|
1 ms
|
262 kb
|
Killed by Signal 11
|
0
|
8
|
1 ms
|
262 kb
|
Killed by Signal 11
|
0
|
9
|
1 ms
|
262 kb
|
Killed by Signal 11
|
0
|
10
|
1 ms
|
262 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
0
|