Obelynas

Taškai: 0

Compile: OK

obelynas.cpp: In function ‘int main()’: obelynas.cpp:31:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("input.txt", "r", stdin); ^ obelynas.cpp:37:24: warning: iteration 102u invokes undefined behavior [-Waggressive-loop-optimizations] dp[i] = 1000002; ^ obelynas.cpp:36:23: note: containing loop for (int i = 0; i <= 102; i++) { ^

nr.resulttimemessage
1False0.0 sTrūksta eilučių
2False0.0 sTrūksta eilučių