Borderou de evaluare (job #2523649)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 14 ianuarie 2020 15:51:29
Problema Parc 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:96:3: error: expected ',' or ';' before 'int' int cx, cy; ^~~ main.cpp:103:5: error: 'cx' was not declared in this scope cx = 0; ^~ main.cpp:105:7: error: 'cy' was not declared in this scope cy = 0; ^~ main.cpp:117:5: error: 'cx' was not declared in this scope cx = 0; ^~ main.cpp:119:7: error: 'cy' was not declared in this scope cy = 0; ^~ main.cpp:37:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("parc.in", "r", stdin); ^ main.cpp:38:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("parc.out", "w", stdout); ^ main.cpp:41:68: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n%d %d %d %d", &xparc, &yparc, &xg, &yg, &xpr, &ypr); ^ main.cpp:57:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ main.cpp:60:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &a, &b); ^ main.cpp:72:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:75:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &a, &b); ^ Non zero exit status: 1

Ceva nu functioneaza?