Borderou de evaluare (job #1539265)

Utilizator akaprosAna Kapros akapros Data 30 noiembrie 2015 16:47:37
Problema Omizi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:120:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < V[x].size(); ++ i) ^ user.cpp: In function ‘void read()’: user.cpp:94:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("omizi.in", "r", stdin); ^ user.cpp:95:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:98:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:108:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp: In function ‘void solve()’: user.cpp:135:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %c", &a, &b); ^ user.cpp: In function ‘void write()’: user.cpp:195:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("omizi.out", "w", stdout); ^ user.cpp: In function ‘void solve()’: user.cpp:48:52: warning: ‘qpos’ may be used uninitialized in this function [-Wmaybe-uninitialized] update(rson, mid + 1, r, p, val1, val2); ^ user.cpp:128:18: note: ‘qpos’ was declared here int i, a, p, qpos, val; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1152kbOK10
212ms1248kbOK10
316ms1336kbOK10
4Depăşit1928kbTime limit exceeded.0
5Depăşit2108kbTime limit exceeded.0
6Depăşit2976kbTime limit exceeded.0
728ms3024kbOK10
8Depăşit2044kbTime limit exceeded.0
920ms1948kbOK10
1020ms2060kbOK10
Punctaj total60

Ceva nu functioneaza?