Borderou de evaluare (job #1865788)

Utilizator TimitocArdelean Andrei Timotei Timitoc Data 2 februarie 2017 08:29:27
Problema Cezar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int del(int, int)’: user.cpp:43:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < graf[from].size(); i++) ^ user.cpp:49:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘void solve()’: user.cpp:59:13: error: ‘cerr’ was not declared in this scope cerr << "ERROR"; ^ user.cpp: In function ‘void citire()’: user.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &k); ^ user.cpp:27:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^ user.cpp: In function ‘int main()’: user.cpp:73:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cezar.in", "r", stdin); ^ user.cpp:74:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cezar.out", "w", stdout); ^

Ceva nu functioneaza?