Minimumų ir maksimumų sandauga

Taškai: 100

Compile: OK

min_max_sandauga.cpp: In function ‘int main()’: 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:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=1; i<=n; i++) scanf(" %lld", &a[i]); ^

nr.resulttimemessage
1True0.0 sok
2True0.072 sok
3True0.072 sok
4True0.056 sok
5True0.008 sok
6True0.088 sok
7True0.072 sok
8True0.02 sok
9True0.044 sok
10True0.028 sok