Portalai (BOI 2014)

Taškai: 42.5

Compile: OK

portals.cpp: In function ‘void print_q(std::priority_queue<std::pair<int, std::pair<int, int> >, std::vector<std::pair<int, std::pair<int, int> > >, compare>)’: portals.cpp:81:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘const value_type {aka const std::pair<int, std::pair<int, int> >}’ [-Wformat=] printf("%d ", ka.top()); ka.pop(); ^

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.024 sok
11True0.052 sok
12True0.016 sok
13True0.012 sok
14True0.012 sok
15False1.04 sTime limit exceeded
16False1.084 sTime limit exceeded (wall clock)
17False1.08 sTime limit exceeded (wall clock)
18False1.084 sTime limit exceeded (wall clock)
19False1.08 sTime limit exceeded (wall clock)
20False1.084 sTime limit exceeded (wall clock)
21False1.084 sTime limit exceeded (wall clock)
22False1.084 sTime limit exceeded (wall clock)
23False1.08 sTime limit exceeded (wall clock)
24False1.088 sTime limit exceeded (wall clock)
25False1.084 sTime limit exceeded (wall clock)
26False1.084 sTime limit exceeded (wall clock)
27False1.088 sTime limit exceeded (wall clock)
28False1.084 sTime limit exceeded (wall clock)
29False1.08 sTime limit exceeded (wall clock)
30False1.08 sTime limit exceeded (wall clock)
31False1.08 sTime limit exceeded (wall clock)
32False1.084 sTime limit exceeded (wall clock)
33False1.084 sTime limit exceeded (wall clock)
34True0.0 sok
35True0.024 sok
36False1.08 sTime limit exceeded (wall clock)
37True0.0 sok
38False1.076 sTime limit exceeded (wall clock)
39False1.076 sTime limit exceeded (wall clock)
40False1.084 sTime limit exceeded (wall clock)