Borderou de evaluare (job #1488183)
Utilizator | Data | 18 septembrie 2015 09:06:13 | |
---|---|---|---|
Problema | Grozavesti | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Inter_Linii(int, int)’:
user.cpp:13:40: error: ‘swap’ was not declared in this scope
swap(a[Linia1][i], a[Linia2][i]);
^
user.cpp: In function ‘void Inter_Col(int, int)’:
user.cpp:20:36: error: ‘swap’ was not declared in this scope
swap(a[i][Col1], a[i][Col1]);
^
user.cpp: In function ‘int main()’:
user.cpp:27:5: error: ‘ifstream’ was not declared in this scope
ifstream fin("grozavesti.in");
^
user.cpp:27:14: error: expected ‘;’ before ‘fin’
ifstream fin("grozavesti.in");
^
user.cpp:28:5: error: ‘fin’ was not declared in this scope
fin >> n;
^
user.cpp:35:5: error: ‘ofstream’ was not declared in this scope
ofstream fout("grozavesti.out");
^
user.cpp:35:14: error: expected ‘;’ before ‘fout’
ofstream fout("grozavesti.out");
^
user.cpp:66:5: error: ‘fout’ was not declared in this scope
fout << mutari << "\n";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !