Meistras

Taškai: 0

Compile: FAIL

meistras.cpp: In function ‘int main()’: meistras.cpp:21:6: error: expected primary-expression before ‘/’ token 21 | */ | ^ meistras.cpp:22:5: error: expected primary-expression before ‘for’ 22 | for (int i = 0; i < P; ++i) { | ^~~ meistras.cpp:22:21: error: ‘i’ was not declared in this scope 22 | for (int i = 0; i < P; ++i) { | ^ meistras.cpp:8:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8 | freopen("meistras.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ meistras.cpp:9:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 9 | freopen("meistras.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

nr.resulttimemessage