Borderou de evaluare (job #2831117)
Utilizator | Data | 10 ianuarie 2022 20:52:49 | |
---|---|---|---|
Problema | Insule | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve()':
main.cpp:88:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
88 | for(int j=0; j<s.size(); j++){
| ~^~~~~~~~~
main.cpp: At global scope:
main.cpp:134:5: error: expected initializer before 'freopen'
134 | freopen("insule.in", "r", stdin);
| ^~~~~~~
main.cpp:135:12: error: expected constructor, destructor, or type conversion before '(' token
135 | freopen("insule.out", "w", stdout);
| ^
main.cpp:137:5: error: specializing member 'std::basic_ios<char>::sync_with_stdio' requires 'template<>' syntax
137 | ios::sync_with_stdio(0);
| ^~~
main.cpp:138:5: error: 'cin' does not name a type; did you mean 'sin'?
138 | cin.tie(0);
| ^~~
| sin
main.cpp:142:5: error: expected unqualified-id before 'for'
142 | for(int tt=1; tt<=t; tt++){
| ^~~
main.cpp:142:19: error: 'tt' does not name a type; did you mean 't'?
142 | for(int tt=1; tt<=t; tt++){
| ^~
| t
main.cpp:142:26: error: 'tt' does not name a type; did you mean 't'?
142 | for(int tt=1; tt<=t; tt++){
| ^~
| t
main.cpp:146:5: error: expected unqualified-id before 'return'
146 | return 0;
| ^~~~~~
main.cpp:147:1: error: expected declaration before '}' token
147 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !