Kvadratas

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.resulttimemessage
1True0.016 sok
2True0.016 sok
3True0.016 sok
4True0.02 sok
5True0.024 sok
6True0.016 sok
7True0.016 sok
8True0.024 sok
9True0.02 sok
10True0.02 sok
11True0.02 sok
12True0.02 sok
13True0.02 sok
14True0.02 sok
15True0.024 sok
16True0.024 sok
17True0.028 sok
18True0.032 sok
19True0.028 sok
20True0.024 sok
21True0.38 sok