Borderou de evaluare (job #2515935)
Utilizator | Data | 29 decembrie 2019 20:18:23 | |
---|---|---|---|
Problema | Text | 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:20:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (isalpha(str[i]))
^~
main.cpp:22:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
i++;
^
main.cpp:42:2: error: 'f' was not declared in this scope
f out << numarLitere / numarCuvinte;
^
main.cpp:39:6: warning: unused variable 'numarLitere' [-Wunused-variable]
int numarLitere = pozF - pozI - charContor + 1;
^~~~~~~~~~~
main.cpp:40:6: warning: unused variable 'numarCuvinte' [-Wunused-variable]
int numarCuvinte = charContor + 1;
^~~~~~~~~~~~
main.cpp:44:21: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
system("pause>nul");
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !