Kelių ilgiai

Taškai: 100

Compile: OK

keliu_ilgiai.cpp: In function ‘int main()’: keliu_ilgiai.cpp:35:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ keliu_ilgiai.cpp:40:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &u, &v); ^ keliu_ilgiai.cpp:53:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Q); ^ keliu_ilgiai.cpp:56:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &u, &v); ^

nr.resulttimemessage
1True0.0 sok
2True0.0 sok
3True0.0 sok
4True0.0 sok
5True0.0 sok
6True0.0 sok
7True0.0 sok
8True0.0 sok
9True0.0 sok
10True0.0 sok
11True0.0 sok
12True0.0 sok
13True0.552 sok
14True0.492 sok
15True0.488 sok
16True0.452 sok
17True0.04 sok
18True0.036 sok
19True0.04 sok
20True0.564 sok
21True0.744 sok
22True0.792 sok
23True0.564 sok
24True0.556 sok
25True0.528 sok
26True0.544 sok
27True0.524 sok
28True0.532 sok
29True0.512 sok
30True0.288 sok
31True0.284 sok
32True0.3 sok
33True0.296 sok