Borderou de evaluare (job #2990703)
Utilizator | Data | 8 martie 2023 12:59:03 | |
---|---|---|---|
Problema | Leftmax | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:210:4: error: stray '#' in program
210 | 2 4#include <iostream>
| ^
main.cpp: In function 'void citire(int&, int&)':
main.cpp:179:14: error: 'x' was not declared in this scope
179 | fin>>x>>y;
| ^
main.cpp:179:17: error: 'y' was not declared in this scope
179 | fin>>x>>y;
| ^
main.cpp:175:11: warning: unused variable 'j' [-Wunused-variable]
175 | int i,j;
| ^
main.cpp: At global scope:
main.cpp:207:1: error: expected unqualified-id before numeric constant
207 | 6 5
| ^
main.cpp:213:10: error: redefinition of 'std::ifstream fin'
213 | ifstream fin("date.in");
| ^~~
main.cpp:4:10: note: 'std::ifstream fin' previously declared here
4 | ifstream fin("date.in");
| ^~~
main.cpp:385:10: error: redefinition of 'std::ifstream fin'
385 | ifstream fin("date.in");
| ^~~
main.cpp:4:10: note: 'std::ifstream fin' previously declared here
4 | ifstream fin("date.in");
| ^~~
main.cpp: In function 'void citire(int, int, int (*)[20])':
main.cpp:390:15: warning: unused variable 'i' [-Wunused-variable]
390 | int x, y, i, j;
| ^
main.cpp: In function 'int cautmuchie(int (*)[20], int, int, int, int)':
main.cpp:415:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
415 | if(t[1][j]==x && t[2][j]==y || t[1][j]==y && t[2][j]==x)
| ~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp: In function 'int subgraf(int (*)[20], int (*)[20], int, int, int)':
main.cpp:422:9: warning: unused variable 'i' [-Wunused-variable]
422 | int i, j;
| ^
main.cpp: At global scope:
main.cpp:429:5: error: redefinition of 'int main()'
429 | int main()
| ^~~~
main.cpp:200:5: note: 'int main()' previously defined here
200 | int main()
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !