Klajonė

Taškai: 21.6

Compile: OK

klajone.cpp: In member function ‘void BIG::print() const’: klajone.cpp:75:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", back()); ^ klajone.cpp:76:65: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] for (long long i = len() - 2; i >= 0; i--) printf("%.4d", v[i]); ^ klajone.cpp: In function ‘std::ostream& operator<<(std::ostream&, const BIG&)’: klajone.cpp:85:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] snprintf(str, 5, "%.4d", a.v[i]); ^ klajone.cpp:85:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]

nr.resulttimemessage
1True0.0 sok
2False0.044 sCaught fatal signal 11
3False0.076 sCaught fatal signal 11
4False0.0 sNeteisinga eilutė
5False0.1 sCaught fatal signal 11
6False0.088 sCaught fatal signal 11
7False0.028 sCaught fatal signal 11
8False0.036 sCaught fatal signal 11
9False0.024 sCaught fatal signal 11
10True0.0 sok
11False0.04 sCaught fatal signal 11
12True0.0 sok
13False0.12 sNeteisinga eilutė
14False0.14 sNeteisinga eilutė
15False0.316 sNeteisinga eilutė
16False0.288 sNeteisinga eilutė
17False0.296 sNeteisinga eilutė
18False0.304 sNeteisinga eilutė
19False0.096 sNeteisinga eilutė
20False0.14 sCaught fatal signal 11
21False0.104 sCaught fatal signal 11
22False0.176 sNeteisinga eilutė
23False0.204 sNeteisinga eilutė
24False0.216 sNeteisinga eilutė
25True0.2 sok
26False0.2 sNeteisinga eilutė
27True0.184 sok
28False0.032 sCaught fatal signal 11
29False0.144 sNeteisinga eilutė
30False0.04 sCaught fatal signal 11
31False0.172 sNeteisinga eilutė
32True0.188 sok
33True0.048 sok
34True0.156 sok
35False0.024 sCaught fatal signal 11
36False0.024 sCaught fatal signal 11
37False1.084 sTime limit exceeded (wall clock)