Slidinėjimo kurortas 2

Taškai: 100

Compile: OK

slidkur2.cpp: In function ‘int main()’: slidkur2.cpp:55:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<std::pair<int, int> >::size_type {aka long unsigned int}’ [-Wformat=] printf("%d\n", ans.size()); ^ slidkur2.cpp:23:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &n, &m); ^ slidkur2.cpp:25:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &h[i]); ^ slidkur2.cpp:30:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int fr, to; scanf(" %d %d", &fr, &to); ^

nr.resulttimemessage
1True0.0 sGerai
2True0.0 sGerai
3True0.0 sGerai
4True0.0 sGerai
5True0.0 sGerai
6True0.0 sGerai
7True0.004 sGerai
8True0.0 sGerai
9True0.004 sGerai
10True0.004 sGerai
11True0.004 sGerai
12True0.004 sGerai
13True0.004 sGerai
14True0.004 sGerai
15True0.004 sGerai