Borderou de evaluare (job #2889101)
Utilizator | Data | 12 aprilie 2022 11:35:13 | |
---|---|---|---|
Problema | Text | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:22: warning: missing terminating " character
11 | char t[101],s1[]=" .,?!-:;'_/\";
| ^
main.cpp:11:22: error: missing terminating " character
11 | char t[101],s1[]=" .,?!-:;'_/\";
| ^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:12:5: error: expected primary-expression before 'long'
12 | long long l=0,c=0;
| ^~~~
main.cpp:15:25: warning: comparison of integer expressions of different signedness: 'long long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(long long i=0; i<strlen(t); i++)
| ~^~~~~~~~~~
main.cpp:17:13: error: 'l' was not declared in this scope
17 | l++;
| ^
main.cpp:18:8: error: 'l' was not declared in this scope
18 | if(l==strlen(t))
| ^
main.cpp:26:13: error: 'c' was not declared in this scope
26 | c++;
| ^
main.cpp:29:16: error: 'c' was not declared in this scope
29 | out<<l/c;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !