XOR Operacijos
- [1] 2019-03-12 16:12 (30)
- [2] 2019-03-12 16:19 (100)
- [3] 2019-03-12 16:20 (100)
Taškai: 30
Compile: OK
xor_operations.cpp: In function ‘int main()’: xor_operations.cpp:86:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &n); ^ xor_operations.cpp:87:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=1; i<=n; i++) scanf(" %d", &a[i]); ^ xor_operations.cpp:91:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &m); ^ xor_operations.cpp:93:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int op; scanf(" %d", &op); ^ xor_operations.cpp:96:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &l, &r); ^ xor_operations.cpp:100:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d %d", &l, &r, &x); ^
| nr. | result | time | message |
|---|---|---|---|
| 1 | True | 0.0 s | ok |
| 2 | True | 0.004 s | ok |
| 3 | True | 0.0 s | ok |
| 4 | True | 0.0 s | ok |
| 5 | True | 0.0 s | ok |
| 6 | True | 0.0 s | ok |
| 7 | True | 0.0 s | ok |
| 8 | True | 0.0 s | ok |
| 9 | True | 0.004 s | ok |
| 10 | False | 0.004 s | Neteisinga eilutė |
| 11 | False | 0.004 s | Neteisinga eilutė |
| 12 | False | 0.0 s | Neteisinga eilutė |
| 13 | False | 0.004 s | Neteisinga eilutė |
| 14 | False | 0.004 s | Neteisinga eilutė |
| 15 | False | 0.012 s | Neteisinga eilutė |
| 16 | False | 0.012 s | Neteisinga eilutė |
| 17 | False | 0.012 s | Neteisinga eilutė |
| 18 | False | 0.016 s | Neteisinga eilutė |
| 19 | False | 0.016 s | Neteisinga eilutė |
| 20 | False | 0.208 s | Neteisinga eilutė |
| 21 | False | 0.192 s | Neteisinga eilutė |
| 22 | False | 0.24 s | Neteisinga eilutė |
| 23 | False | 0.24 s | Neteisinga eilutė |
| 24 | False | 0.204 s | Neteisinga eilutė |
| 25 | False | 0.224 s | Neteisinga eilutė |
| 26 | False | 0.228 s | Neteisinga eilutė |
| 27 | False | 0.22 s | Neteisinga eilutė |
| 28 | False | 0.296 s | Neteisinga eilutė |
| 29 | False | 0.264 s | Neteisinga eilutė |
| 30 | False | 0.2 s | Neteisinga eilutė |
