Borderou de evaluare (job #3220351)
Utilizator | Data | 3 aprilie 2024 12:27:09 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
13 | while(p=b.find(a,p)+1)
| ~^~~~~~~~~~~~~~
main.cpp:13:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
13 | while(p=b.find(a,p)+1)
| ^~~~~
main.cpp:14:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
14 | s[x++]=p-1;g<<x<<"\n";
| ^
main.cpp:14:20: error: 'g' was not declared in this scope
main.cpp:15:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
15 | while(p<x & p<1000)
| ~^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !