Šaulys 1

Taškai: 30

Compile: OK

saul1.cpp: In function ‘int main()’: saul1.cpp:47:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 47 | freopen("saul1.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ saul1.cpp:48:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 48 | freopen("saul1.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~

nr.resulttimemessage
1False0.001 sNeteisinga eilutė
2True0.001 sok
3False0.001 sNeteisinga eilutė
4True0.001 sok
5False0.031 sCaught fatal signal 11
6True0.027 sok
7False0.026 sCaught fatal signal 11
8False0.026 sCaught fatal signal 11
9False0.026 sCaught fatal signal 11
10False0.025 sCaught fatal signal 11