Borderou de evaluare (job #1897084)
Utilizator | Data | 1 martie 2017 09:48:23 | |
---|---|---|---|
Problema | Qxy | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:24: error: conflicting declaration ‘int x’
int n,x[10000],q,ii,jj,x,y,maxx[1000],minn[1000];
^
user.cpp:8:7: error: ‘x’ has a previous declaration as ‘int x [10000]’
int n,x[10000],q,ii,jj,x,y,maxx[1000],minn[1000];
^
user.cpp: In function ‘void citire()’:
user.cpp:16:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(x[i]>maxx)
^
user.cpp:19:18: error: expected primary-expression before ‘]’ token
maxx[]
^
user.cpp:21:5: error: expected ‘;’ before ‘}’ token
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !