Spausdintinė schemos plokštė (BOI 2010)
- [1] 2018-04-21 13:22 (20)
- [2] 2018-04-21 13:23 (40)
- [3] 2018-04-21 13:29 (100)
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. | result | time | message |
---|---|---|---|
1 | True | 0.0 s | ok |
2 | True | 0.0 s | ok |
3 | True | 0.0 s | ok |
4 | True | 0.0 s | ok |
5 | True | 0.008 s | ok |
6 | True | 0.008 s | ok |
7 | True | 0.004 s | ok |
8 | True | 0.068 s | ok |
9 | True | 0.08 s | ok |
10 | True | 0.052 s | ok |