Karvės

Taškai: 96.7

Compile: OK

karves.cpp: In function ‘int main()’: karves.cpp:68:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d\n", ans); ^ karves.cpp:42:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ karves.cpp:47:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &cows[i]); ^

nr.resulttimemessage
1True0.0 sok
2True0.0 sok
3True0.0 sok
4True0.0 sok
5True0.0 sok
6True0.0 sok
7True0.0 sok
8True0.0 sok
9True0.0 sok
10True0.0 sok
11True0.0 sok
12True0.0 sok
13True0.0 sok
14True0.0 sok
15True0.004 sok
16True0.004 sok
17True0.004 sok
18True0.004 sok
19True0.0 sok
20True0.0 sok
21True0.004 sok
22True0.008 sok
23True0.008 sok
24True0.012 sok
25True0.012 sok
26True0.012 sok
27True0.012 sok
28True0.016 sok
29True0.016 sok
30False0.096 sNeteisinga eilutė