Algoritmų sudėtingumas

Taškai: 70

Compile: OK

alg.cpp: In function ‘int main()’: alg.cpp:7: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:8: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.004 sok
6True0.0 sok
7False0.0 sNeteisinga eilutė
8True0.004 sok
9True0.0 sok
10False0.004 sNeteisinga eilutė