Borderou de evaluare (job #1564195)
Utilizator | Data | 9 ianuarie 2016 00:39:27 | |
---|---|---|---|
Problema | 2SAT | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void visit(int)’:
user.cpp:46:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g[k].size (); i++)
^
user.cpp: In function ‘void addToComponent(int, std::vector<int>*)’:
user.cpp:57:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < gt[k].size (); i++)
^
user.cpp: In function ‘bool sat2()’:
user.cpp:66:28: error: ‘memset’ was not declared in this scope
memset(value, 0, 8 * n + 4);
^
user.cpp:80:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < component->size(); i++) {
^
user.cpp:97:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < componentVector[i].size(); j++)
^
user.cpp: In function ‘int main()’:
user.cpp:121:22: error: ‘memset’ was not declared in this scope
memset(viz, 0, 2*n+1);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !