Borderou de evaluare (job #1640853)
Utilizator | Data | 8 martie 2016 19:38:22 | |
---|---|---|---|
Problema | Photoshop | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘void Tree2d::add_aib(std::vector<int>&, int, int)’:
user.cpp:136:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (pos < work.size()) {
^
user.cpp: In function ‘void minimize_c(op&)’:
user.cpp:202:26: error: ‘low_c’ was not declared in this scope
for (int step = 1 << low_c[now.c - now.a + 3]; step; step >>= 1)
^
user.cpp: In function ‘int main()’:
user.cpp:254:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < Points.size(); i++)
^
user.cpp:233:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("photoshop.out","w",stdout);
^
user.cpp: In member function ‘void Buffer::refill()’:
user.cpp:50:43: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(&data[0], 1, dim, stdin);
^
user.cpp: In constructor ‘Buffer::Buffer(std::string, int)’:
user.cpp:22:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(name.c_str(), "r", stdin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !