Borderou de evaluare (job #2556257)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 24 februarie 2020 19:41:32
Problema Poligon7 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:126:16: error: found ':' in nested-name-specifier, expected '::' for(x: apm[crt.nod2]) ^ main.cpp:126:15: error: 'x' has not been declared for(x: apm[crt.nod2]) ^ main.cpp:131:9: error: expected primary-expression before '}' token } ^ main.cpp:131:9: error: expected ';' before '}' token main.cpp:131:9: error: expected primary-expression before '}' token main.cpp:131:9: error: expected ')' before '}' token main.cpp:131:9: error: expected primary-expression before '}' token main.cpp:136:16: error: found ':' in nested-name-specifier, expected '::' for(x: apm[crt.nod1]) ^ main.cpp:136:15: error: 'x' has not been declared for(x: apm[crt.nod1]) ^ main.cpp:141:9: error: expected primary-expression before '}' token } ^ main.cpp:141:9: error: expected ';' before '}' token main.cpp:141:9: error: expected primary-expression before '}' token main.cpp:141:9: error: expected ')' before '}' token main.cpp:141:9: error: expected primary-expression before '}' token main.cpp:59:7: warning: unused variable 'vf' [-Wunused-variable] int vf, b1, b2; ^~ main.cpp:59:11: warning: unused variable 'b1' [-Wunused-variable] int vf, b1, b2; ^~ main.cpp:59:15: warning: unused variable 'b2' [-Wunused-variable] int vf, b1, b2; ^~ main.cpp:57:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("poligon7.in", "r", stdin); ^ main.cpp:58:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("poligon7.out", "w", stdout); ^ main.cpp:61:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n%d", &cerinta, &t); ^ main.cpp:63:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:69:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lf %lf", &p[i].x, &p[i].y); Non zero exit status: 1

Ceva nu functioneaza?