Borderou de evaluare (job #1501329)

Utilizator atatomirTatomir Alex atatomir Data 13 octombrie 2015 11:51:58
Problema Arb Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:66:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < list[node].size(); i++) { ^ user.cpp: In function ‘int main()’: user.cpp:103:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < queries.size(); i++) { ^ user.cpp:76:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arb.in", "r", stdin); ^ user.cpp:77:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arb.out", "w", stdout); ^ user.cpp:79:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:80:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (i = 1; i <= n; i++) scanf("%d", &cost[i]); ^ user.cpp:82:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:89:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ user.cpp:91:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms3404kbOK1010
28ms3504kbOK1010
344ms4412kbOK1010
4680ms8212kbOK1010
5824ms10976kbOK1010
61444ms11972kbOK100
7Depăşit19972kbTime limit exceeded.0
8Depăşit20724kbTime limit exceeded.0
91168ms17404kbOK10
10Depăşit24716kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?