Borderou de evaluare (job #2406562)

Utilizator Carol_LucaCarol Luca Carol_Luca Data 15 aprilie 2019 21:27:04
Problema Reuniune Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:80:3: error: expected ';' before '}' token {1} ^ main.cpp:80:3: warning: statement has no effect [-Wunused-value] main.cpp:88:3: error: expected ';' before '}' token {1} ^ main.cpp:88:3: warning: statement has no effect [-Wunused-value] main.cpp:92:3: error: expected ';' before '}' token {1} ^ main.cpp:92:3: warning: statement has no effect [-Wunused-value] main.cpp:106:3: error: expected ';' before '}' token {1} ^ main.cpp:106:3: warning: statement has no effect [-Wunused-value] main.cpp:120:3: error: expected ';' before '}' token {1} ^ main.cpp:120:3: warning: statement has no effect [-Wunused-value] main.cpp:126:3: error: expected ';' before '}' token {1} ^ main.cpp:126:3: warning: statement has no effect [-Wunused-value] main.cpp:76:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("reuniune.in", "r", stdin); ^ main.cpp:78:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("reuniune.out", "w", stdout); ^ main.cpp:82:61: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d%d", &a[1].x1, &a[1].y1, &a[1].x2, &a[1].y2); ^ main.cpp:84:61: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d%d", &a[2].x1, &a[2].y1, &a[2].x2, &a[2].y2); ^ main.cpp:86:61: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d%d", &a[3].x1, &a[3].y1, &a[3].x2, &a[3].y2); ^ Non zero exit status: 1

Ceva nu functioneaza?