Kelių ilgiai

Taškai: 100

Compile: OK

keliu_ilgiai.cpp: In function ‘int main()’: keliu_ilgiai.cpp:33: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:38: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:51:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Q); ^ keliu_ilgiai.cpp:54: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.512 sok
14True0.488 sok
15True0.496 sok
16True0.504 sok
17True0.04 sok
18True0.036 sok
19True0.048 sok
20True0.612 sok
21True0.668 sok
22True0.696 sok
23True0.684 sok
24True0.652 sok
25True0.7 sok
26True0.828 sok
27True0.684 sok
28True0.628 sok
29True0.628 sok
30True0.42 sok
31True0.332 sok
32True0.336 sok
33True0.38 sok