Borderou de evaluare (job #2839634)
Utilizator | Data | 26 ianuarie 2022 11:51:46 | |
---|---|---|---|
Problema | Pericol | Status | done |
Runda | oni_2019_cl10_ziua2 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:51:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | for(j = 1; j < divizori[v[i]].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:55:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for(j = 1; j < divizori[v[i]].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:56:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | for(int x = 1; x < divizori[j].size(); x++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:58:37: error: expected ';' before ']' token
58 | ans += divizori[v[i]][j]] * f[divizori[v[i][j] - 1];
| ^
| ;
main.cpp:31:18: warning: unused variable 'k' [-Wunused-variable]
31 | int n, i, j, k;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !