Borderou de evaluare (job #2904875)
Utilizator | Data | 18 mai 2022 12:44:22 | |
---|---|---|---|
Problema | Autostrazi2 | Status | done |
Runda | Arhiva Monthly | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:266:2: error: stray '#' in program
266 | }#include<bits/stdc++.h>
| ^
main.cpp: In function 'void dfs(int)':
main.cpp:231:18: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
231 | if (s.size() == n)
| ~~~~~~~~~^~~~
main.cpp:236:31: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
236 | if (!f[i] && s.size() < n)
| ~~~~~~~~~^~~
main.cpp:240:18: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
240 | if (s.size() < n)
| ~~~~~~~~~^~~
main.cpp: In function 'int main()':
main.cpp:262:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
262 | for (int i = 0; i <= s.size() / 2 + 1; i += 2)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp: At global scope:
main.cpp:266:3: error: 'include' does not name a type
266 | }#include<bits/stdc++.h>
| ^~~~~~~
main.cpp:269:7: error: redefinition of 'class input'
269 | class input {
| ^~~~~
main.cpp:4:7: note: previous definition of 'class input'
4 | class input {
| ^~~~~
main.cpp:371:7: error: redefinition of 'class output'
371 | class output{
| ^~~~~~
main.cpp:106:7: note: previous definition of 'class output'
106 | class output{
| ^~~~~~
main.cpp:483:10: error: redefinition of 'std::ifstream fin'
483 | ifstream fin("autostrazi2.in");
| ^~~
main.cpp:218:10: note: 'std::ifstream fin' previously declared here
218 | ifstream fin("autostrazi2.in");
| ^~~
main.cpp:484:10: error: redefinition of 'std::ofstream fout'
484 | ofstream fout("autostrazi2.out");
| ^~~~
main.cpp:219:10: note: 'std::ofstream fout' previously declared here
219 | ofstream fout("autostrazi2.out");
| ^~~~
main.cpp:486:21: error: redefinition of 'std::vector<std::vector<int> > g'
486 | vector<vector<int>> g(1001);
| ^
main.cpp:221:21: note: 'std::vector<std::vector<int> > g' previously declared here
221 | vector<vector<int>> g(1001);
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !