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:52:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Q); ^ keliu_ilgiai.cpp:55: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.424 sok
14True0.432 sok
15True0.42 sok
16True0.432 sok
17True0.04 sok
18True0.064 sok
19True0.04 sok
20True0.5 sok
21True0.524 sok
22True0.54 sok
23True0.796 sok
24True0.664 sok
25True0.532 sok
26True0.516 sok
27True0.528 sok
28True0.52 sok
29True0.596 sok
30True0.292 sok
31True0.288 sok
32True0.296 sok
33True0.292 sok