Spausdintinė schemos plokštė (BOI 2010)

Taškai: 100

Compile: OK

pcb.cpp: In function ‘int main()’: pcb.cpp:36:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::set<int>::size_type {aka long unsigned int}’ [-Wformat=] printf("%d\n", s.size()); ^ pcb.cpp:19:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &n); ^ pcb.cpp:20:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=0; i<n; i++) scanf(" %d %d", &p[i].x, &p[i].y); ^

nr.resulttimemessage
1True0.0 sok
2True0.0 sok
3True0.0 sok
4True0.0 sok
5True0.008 sok
6True0.008 sok
7True0.004 sok
8True0.068 sok
9True0.08 sok
10True0.052 sok