Minimumų ir maksimumų sandauga

Taškai: 70

Compile: OK

min_max_sandauga.cpp: In function ‘int main()’: 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: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
2False0.08 sNeteisinga eilutė
3True0.076 sok
4True0.056 sok
5True0.008 sok
6False0.096 sNeteisinga eilutė
7False0.076 sNeteisinga eilutė
8True0.02 sok
9True0.044 sok
10True0.032 sok