Borderou de evaluare (job #2491780)
Utilizator | Data | 13 noiembrie 2019 09:37:51 | |
---|---|---|---|
Problema | Sirul infinit | Status | done |
Runda | Arhiva ICPC | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:38:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 1; j < s.length()/2; ++j)
~~^~~~~~~~~~~~~~
main.cpp:55:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = s.length()/2; j < s.length(); ++j)
~~^~~~~~~~~~~~
main.cpp:60:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j - stare >= s.length()/2)
~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:60:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(j - stare >= s.length()/2)
^~
main.cpp:61:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
ok=1; break;
^~~~~
main.cpp:64:5: error: expected ';' before 'stare'
stare = prefix[stare - 1];
^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !