Kvadratas

Taškai: 95.2

Compile: OK

kvadratas.cpp: In function ‘int main()’: kvadratas.cpp:48: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:48:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘ll* {aka long long int*}’ [-Wformat=] kvadratas.cpp:53: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:53:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘ll* {aka long long int*}’ [-Wformat=] kvadratas.cpp:69: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:48: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:53:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &x, &y); ^

nr.resulttimemessage
1True0.012 sok
2True0.02 sok
3True0.016 sok
4True0.02 sok
5True0.024 sok
6True0.02 sok
7True0.02 sok
8True0.02 sok
9True0.012 sok
10True0.012 sok
11True0.016 sok
12True0.02 sok
13True0.024 sok
14True0.024 sok
15True0.012 sok
16True0.028 sok
17True0.028 sok
18True0.032 sok
19True0.032 sok
20True0.024 sok
21False0.44 sNeteisinga eilutė