Domino kauliukai
- [1] 2019-03-01 22:32 (62.5)
- [2] 2019-03-01 22:46 (87.5)
- [3] 2019-03-01 22:50 (100)
- [4] 2019-03-17 15:49 (75)
- [5] 2019-03-17 15:50 (75)
- [6] 2020-02-19 19:19 (75)
- [7] 2020-02-19 19:40 (100)
- [8] 2020-03-03 19:31 (100)
Taškai: 75
Compile: OK
domino.cpp: In function ‘int main()’: domino.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("domino.in", "r", stdin); ^ domino.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("domino.out", "w", stdout); ^ domino.cpp:23:21: warning: iteration 7u invokes undefined behavior [-Waggressive-loop-optimizations] if(adjsize[i]%2==1)nelyg++; ^ domino.cpp:22:19: note: containing loop for(int i=0; i<8; i++){ ^
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 | False | 0.0 s | Neteisinga eilutė |
6 | False | 0.0 s | Neteisinga eilutė |
7 | True | 0.0 s | ok |
8 | True | 0.0 s | ok |