Borderou de evaluare (job #2206815)

Utilizator Chirita_MateiChirita Matei Chirita_Matei Data 23 mai 2018 20:58:00
Problema Heavy Path Decomposition Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void makePaths(int, int, int)’: user.cpp:68:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < G[node].size(); i++) { ~~^~~~~~~~~~~~~~~~ user.cpp:93:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < G[node].size(); i++) { ~~^~~~~~~~~~~~~~~~ user.cpp: In function ‘void reversePathsAndMakeTrees()’: user.cpp:104:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < paths.size(); i++) { ~~^~~~~~~~~~~~~~ user.cpp:110:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < aux.size(); j++) { ~~^~~~~~~~~~~~ user.cpp: In function ‘void query(int)’: user.cpp:134:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &o, &x, &y); ^ user.cpp: In function ‘int main()’: user.cpp:146:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("heavypath.in", "r", stdin); ^ user.cpp:148:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:150:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (int i = 1; i <= n; i++) scanf("%d", &nodes[i].val); ^ user.cpp:153:24: 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
14ms4336kbOK510
24ms4336kbOK5
312ms4332kbOK510
420ms4332kbOK5
5180ms7640kbOK520
6556ms5452kbOK5
7184ms7096kbOK5
8560ms5452kbOK5
9288ms10764kbOK50
10Depăşit6768kbTime limit exceeded.0
11304ms9636kbOK5
12Depăşit6768kbTime limit exceeded.0
13372ms11060kbOK50
14Depăşit7540kbTime limit exceeded.0
15364ms12048kbOK5
16Depăşit7540kbTime limit exceeded.0
17416ms13168kbOK50
18Depăşit8308kbTime limit exceeded.0
19420ms12908kbOK5
20Depăşit8308kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?