Borderou de evaluare (job #1875668)
Utilizator | Data | 11 februarie 2017 13:58:18 | |
---|---|---|---|
Problema | Problema Damelor | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:11: error: expected unqualified-id before string constant
ifstream ("damesah.in")
^
user.cpp:7:11: error: expected ‘)’ before string constant
user.cpp: In function ‘bool solutie(int)’:
user.cpp:24:12: error: ‘n’ was not declared in this scope
if (k==n) return true;
^
user.cpp: In function ‘void afisare()’:
user.cpp:30:5: error: ‘cout’ was not declared in this scope
cout<<n<<'\n';
^
user.cpp:30:11: error: ‘n’ was not declared in this scope
cout<<n<<'\n';
^
user.cpp: In function ‘void BK(int)’:
user.cpp:40:21: error: ‘n’ was not declared in this scope
for (int i=1;i<=n;i++)
^
user.cpp: At global scope:
user.cpp:51:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main()
^
user.cpp: In function ‘int main()’:
user.cpp:53:5: error: ‘cin’ was not declared in this scope
cin>>n;
^
user.cpp:53:10: error: ‘n’ was not declared in this scope
cin>>n;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !