Minimumų ir maksimumų sandauga

Taškai: 100

Compile: OK

min_max_sandauga.cpp: In function ‘int main()’: min_max_sandauga.cpp:39:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘ll* {aka long long int*}’ [-Wformat=] scanf(" %d", &a[i]); ^ min_max_sandauga.cpp:37:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %lld", &n); ^ min_max_sandauga.cpp:39:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &a[i]); ^

nr.resulttimemessage
1True0.0 sok
2True0.056 sok
3True0.06 sok
4True0.04 sok
5True0.008 sok
6True0.068 sok
7True0.06 sok
8True0.016 sok
9True0.036 sok
10True0.024 sok