Borderou de evaluare (job #1329365)
Utilizator | Data | 29 ianuarie 2015 14:14:17 | |
---|---|---|---|
Problema | Zoo | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int query(int, int, int, int, int)’:
user.cpp:132:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (f1 < 0 || (f1 >= 0 && f1 < aint [node].v.size () && aint [node].v [f1].y < yy1 )) {
^
user.cpp:134:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (f1 >= aint [node].v.size ())
^
user.cpp:136:9: error: expected ‘;’ before ‘}’ token
}
^
user.cpp:127:21: warning: unused variable ‘numst’ [-Wunused-variable]
int m, ans = 0, numst = 0, nf1, nf2;
^
user.cpp: In member function ‘void Myifstream::advance()’:
user.cpp:46:47: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread (buffer, 1, SIZE, input);
^
user.cpp: In constructor ‘Myifstream::Myifstream(const char*)’:
user.cpp:53:43: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread (buffer, 1, SIZE, input);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !