Borderou de evaluare (job #2342830)
Utilizator | Data | 13 februarie 2019 13:19:03 | |
---|---|---|---|
Problema | Cifra | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:17:36: error: invalid operands of types '__gnu_cxx::__promote_2<long long int, long long int, double, double>::__type {aka double}' and 'int' to binary 'operator%'
s=s+(pow((j%10),(j%4)))%10;
~~~~~~~~~~~~~~~~~~~^~~
main.cpp:16:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=1;j<=n;j++)
^~~
main.cpp:18:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
s=s%10;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !