Minimumų ir maksimumų sandauga

Taškai: 70

Compile: OK

min_max_sandauga.cpp: In function ‘int main()’: min_max_sandauga.cpp:38: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:36: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:38: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
2False0.056 sNeteisinga eilutė
3True0.04 sok
4True0.04 sok
5True0.008 sok
6False0.072 sNeteisinga eilutė
7False0.06 sNeteisinga eilutė
8True0.016 sok
9True0.036 sok
10True0.024 sok