Borderou de evaluare (job #1405640)

Utilizator geniucosOncescu Costin geniucos Data 29 martie 2015 14:41:56
Problema Ulei Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:74:44: error: expected ‘]’ before ‘;’ token Ap[x[i]][y[i] ++, Ap[y[i]][x[i]] ++; ^ user.cpp:88:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k = 0; k < v[i].size() / 2; k++) ^ user.cpp:117:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=1; j<v[i].size(); j++) ^ user.cpp:152:15: error: request for member ‘clear’ in ‘ap[i]’, which is of non-class type ‘int’ ap[i].clear (); ^ user.cpp:63:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("ulei.in", "r", stdin); ^ user.cpp:64:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("ulei.out", "w", stdout); ^ user.cpp: In function ‘void Next()’: user.cpp:166:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (sir, 1, maxl, stdin), pos = 0; ^

Ceva nu functioneaza?