Borderou de evaluare (job #1851948)
Utilizator | Data | 20 ianuarie 2017 12:43:24 | |
---|---|---|---|
Problema | Maxd | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int div(int)’:
user.cpp:27:18: error: invalid operands of types ‘int [45000]’ and ‘int [45000]’ to binary ‘operator*’
for(i=1;prim*prim<=n;i++)
^
user.cpp:29:14: error: invalid operands of types ‘int’ and ‘int [45000]’ to binary ‘operator%’
if(n%prim==0)
^
user.cpp:32:21: error: invalid operands of types ‘int’ and ‘int [45000]’ to binary ‘operator%’
while(n%prim==0)
^
user.cpp:34:18: error: invalid operands of types ‘int’ and ‘int [45000]’ to binary ‘operator/’
n/=prim;
^
user.cpp:34:18: error: in evaluation of ‘operator/=(int, int [45000])’
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !