Borderou de evaluare (job #2221810)

Utilizator inquisitorAnders inquisitor Data 15 iulie 2018 21:32:53
Problema Aria Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:50:48: error: expected ‘)’ before ‘;’ token for(x1 = x0, y1 = y0; --N; x1 = x2, y1 = y2;) ^ user.cpp:50:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(x1 = x0, y1 = y0; --N; x1 = x2, y1 = y2;) ^~~ user.cpp:50:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ for(x1 = x0, y1 = y0; --N; x1 = x2, y1 = y2;) ^ user.cpp:50:49: error: expected primary-expression before ‘)’ token user.cpp: At global scope: user.cpp:9:37: warning: always_inline function might not be inlinable [-Wattributes] __attribute__((always_inline)) char get_char() ^~~~~~~~ user.cpp: In function ‘char get_char()’: user.cpp:13:46: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(inBuffer, 1, bufferSize, stdin); ^ user.cpp: In function ‘int main()’: user.cpp:45:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("aria.in", "r", stdin); ^ user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("aria.out", "w", stdout); ^

Ceva nu functioneaza?