Borderou de evaluare (job #2117425)

Utilizator theodor.moroianuTheodor Moroianu theodor.moroianu Data 28 ianuarie 2018 21:04:44
Problema Parb Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int, int)’: user.cpp:23:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] adia[locbest].push_back(q); ^ user.cpp: In function ‘std::string max_lexic(std::string)’: user.cpp:39:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i(2); i < s.size(); i++) { ^ user.cpp:56:11: warning: statement has no effect [-Wunused-value] for (p; p < s.size() - 1; p++) ^ user.cpp:56:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (p; p < s.size() - 1; p++) ^ user.cpp: In function ‘int main()’: user.cpp:80:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i(1); i < rez.size(); i++) ^ user.cpp:67:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n); ^ user.cpp:69:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%s", litera + 1); ^ user.cpp:72:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d", &a, &b); ^ user.cpp: In function ‘void dfs(int, int, int)’: user.cpp:13:20: warning: ‘locbest’ may be used uninitialized in this function [-Wmaybe-uninitialized] char best = 0, locbest; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms6324kbOK1010
220ms14764kbKilled by signal 11(SIGSEGV).00
360ms15684kbKilled by signal 11(SIGSEGV).00
448ms7516kbKilled by signal 11(SIGSEGV).0
552ms7260kbIncorect00
6Depăşit27140kbTime limit exceeded.00
7536msDepăşitMemory limit exceeded.0
8488ms16096kbKilled by signal 11(SIGSEGV).00
9320msDepăşitMemory limit exceeded.0
10488ms16068kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?