Borderou de evaluare (job #1329624)
Utilizator | Data | 29 ianuarie 2015 18:38:44 | |
---|---|---|---|
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:136: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:138:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (f1 >= aint [node].v.size ())
^
user.cpp:129:21: warning: unused variable ‘numst’ [-Wunused-variable]
int m, ans = 0, numst = 0, nf1, nf2;
^
user.cpp: In function ‘int main()’:
user.cpp:217:27: error: ‘node’ was not declared in this scope
maxnode = node;
^
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 !