Kvadratas
- [1] 2019-01-12 12:37 (23.8)
- [2] 2019-01-12 12:43 (100)
- [3] 2019-01-12 22:39 (100)
Taškai: 100
Compile: OK
kvadratas.cpp: In function ‘int main()’: kvadratas.cpp:49:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘ll* {aka long long int*}’ [-Wformat=] scanf(" %d %d", &n, &d); ^ kvadratas.cpp:49:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘ll* {aka long long int*}’ [-Wformat=] kvadratas.cpp:54:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘ll* {aka long long int*}’ [-Wformat=] scanf(" %d %d", &x, &y); ^ kvadratas.cpp:54:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘ll* {aka long long int*}’ [-Wformat=] kvadratas.cpp:70:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ll {aka long long int}’ [-Wformat=] printf("%d\n", ans); ^ kvadratas.cpp:49:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &n, &d); ^ kvadratas.cpp:54:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &x, &y); ^
nr. | result | time | message |
---|---|---|---|
1 | True | 0.016 s | ok |
2 | True | 0.016 s | ok |
3 | True | 0.016 s | ok |
4 | True | 0.02 s | ok |
5 | True | 0.024 s | ok |
6 | True | 0.016 s | ok |
7 | True | 0.016 s | ok |
8 | True | 0.024 s | ok |
9 | True | 0.02 s | ok |
10 | True | 0.02 s | ok |
11 | True | 0.02 s | ok |
12 | True | 0.02 s | ok |
13 | True | 0.02 s | ok |
14 | True | 0.02 s | ok |
15 | True | 0.024 s | ok |
16 | True | 0.024 s | ok |
17 | True | 0.028 s | ok |
18 | True | 0.032 s | ok |
19 | True | 0.028 s | ok |
20 | True | 0.024 s | ok |
21 | True | 0.38 s | ok |