Borderou de evaluare (job #1215457)
Utilizator | Data | 1 august 2014 05:14:58 | |
---|---|---|---|
Problema | Partial Match | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void rezolva()’:
user.cpp:87:4: error: ‘sol’ was not declared in this scope
sol.push_back(i-1);
^
user.cpp:101:15: error: ‘sol’ was not declared in this scope
if (j > nA) sol.push_back(i-1);
^
user.cpp: In function ‘int main()’:
user.cpp:111:10: error: ‘sol’ was not declared in this scope
cout << sol.size() << "\n";
^
user.cpp: In function ‘int cod(int)’:
user.cpp:48:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:107:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("partialmatch.in", "r", stdin);
^
user.cpp:108:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("partialmatch.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !