Borderou de evaluare (job #671729)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Ploaie (clasa a 9-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 24 oct. 2022 13:49:08 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool pp(int)':
main.cpp:20:15: error: 'sqrt' was not declared in this scope
20 | int aux = sqrt(n);
| ^~~~
main.cpp: In function 'int main()':
main.cpp:33:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
33 | for (int i = 1; i <a.size(); i++)
| ~~^~~~~~~~~