Borderou de evaluare (job #2142982)

Utilizator Vaida_Radu_AndreiVaida Radu Andrei Vaida_Radu_Andrei Data 25 februarie 2018 14:09:13
Problema Admitere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:45: error: expected unqualified-id before ‘or’ token int n,m,r1[2000],u1[2000],r2[2000],u2[2000],or[2000],ori,ouman[2000],oui; ^ user.cpp: In function ‘void citire()’: user.cpp:34:13: error: ‘ouman’ was not declared in this scope ouman[oumani++]=i; ^ user.cpp:34:19: error: ‘oumani’ was not declared in this scope ouman[oumani++]=i; ^ user.cpp:40:13: error: expected primary-expression before ‘or’ token or[ori++]=i; ^ user.cpp:40:16: error: ‘ori’ was not declared in this scope or[ori++]=i; ^ user.cpp:40:19: error: expected ‘,’ before ‘++’ token or[ori++]=i; ^ user.cpp:40:19: error: expected identifier before ‘++’ token user.cpp: In lambda function: user.cpp:40:22: error: expected ‘{’ before ‘=’ token or[ori++]=i; ^ user.cpp: In function ‘int real1()’: user.cpp:57:42: error: expected primary-expression before ‘]’ token if(r1[sol+i-1]<nreal[nri-sol-i-1|]) ^ user.cpp: In function ‘int uman1()’: user.cpp:67:42: error: expected primary-expression before ‘]’ token if(u1[sol+i-1]<numan[nui-sol-i-1|]) ^ user.cpp: In function ‘void citire()’: user.cpp:15:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&r1[i]); ^ user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&u1[i]); ^ user.cpp:22:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&r2[i],&u2[i]); ^ user.cpp: In function ‘int main()’: user.cpp:116:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&cer); ^

Ceva nu functioneaza?