Algoritmų sudėtingumas

Taškai: 60

Compile: OK

alg.cpp: In function ‘int main()’: alg.cpp:87:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alg.in", "r", stdin); ^ alg.cpp:88:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alg.out", "w", stdout); ^

nr.resulttimemessage
1True0.0 sok
2False0.0 sNeteisinga eilutė
3True0.0 sok
4True0.0 sok
5True0.0 sok
6True0.0 sok
7False0.0 sNeteisinga eilutė
8False0.004 sNeteisinga eilutė
9True0.004 sok
10False0.012 sNeteisinga eilutė