Borderou de evaluare (job #2446123)
Utilizator | Data | 7 august 2019 11:36:28 | |
---|---|---|---|
Problema | Puncte | 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:89:32: error: 'sqrt' was not declared in this scope
b[(int)sqrt(a[i].second)].push_back(a[i]);
^
main.cpp:88:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i = 1; i <= n; ++i)
^~~
main.cpp:90:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for ( int i = 0; i < 400; ++i)
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !