Minimumų ir maksimumų sandauga

Taškai: 10

Compile: OK

min_max_sandauga.cpp: In function ‘int main()’: min_max_sandauga.cpp:21: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:19: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:21: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.044 sNeteisinga eilutė
3False0.048 sNeteisinga eilutė
4False0.036 sNeteisinga eilutė
5False0.004 sNeteisinga eilutė
6False0.056 sNeteisinga eilutė
7False0.044 sNeteisinga eilutė
8False0.012 sNeteisinga eilutė
9False0.028 sNeteisinga eilutė
10False0.02 sNeteisinga eilutė