Borderou de evaluare (job #988377)
Utilizator | Data | 22 august 2013 18:39:06 | |
---|---|---|---|
Problema | Domino | 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:72:15: error: incompatible types in assignment of ‘int’ to ‘int [50005]’
for(l=0;l<10&&i==-1;l++)
^
user.cpp:72:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
for(l=0;l<10&&i==-1;l++)
^
user.cpp:72:31: error: lvalue required as increment operand
for(l=0;l<10&&i==-1;l++)
^
user.cpp:73:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(k!=l&&f[10*j+k]+f[10*k+j]==1&&f[10*j+l]+f[10*l+j]==1)
^
user.cpp:73:51: error: invalid types ‘int [100][int*]’ for array subscript
if(k!=l&&f[10*j+k]+f[10*k+j]==1&&f[10*j+l]+f[10*l+j]==1)
^
user.cpp:73:58: error: invalid operands of types ‘int’ and ‘int [50005]’ to binary ‘operator*’
if(k!=l&&f[10*j+k]+f[10*k+j]==1&&f[10*j+l]+f[10*l+j]==1)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !