Borderou de evaluare (job #1141276)
Utilizator | Data | 12 martie 2014 19:20:08 | |
---|---|---|---|
Problema | 7segmente | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:20: error: invalid types ‘int [10][char*]’ for array subscript
rez+=P[s-48];
^
user.cpp:21:29: error: invalid conversion from ‘char*’ to ‘int’ [-fpermissive]
if(L==N && !sw)x = s-48;
^
user.cpp:23:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
while(P+ (L-i)*2 > p)x--,sw = 1;
^
user.cpp:25:10: error: invalid operands of types ‘int’ and ‘int [10]’ to binary ‘operator-’
p-=P;
^
user.cpp:25:10: error: in evaluation of ‘operator-=(int, int [10])’
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !