Borderou de evaluare (job #2117432)

Utilizator theodor.moroianuTheodor Moroianu theodor.moroianu Data 28 ianuarie 2018 21:07: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:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i(2); i < s.size() - 1; 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:81:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i(1); i < rez.size(); i++) ^ user.cpp:68: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:70: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:73: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
18ms6320kbOK1010
220ms14764kbKilled by signal 11(SIGSEGV).00
360ms15684kbKilled by signal 11(SIGSEGV).00
448ms7516kbKilled by signal 11(SIGSEGV).0
552ms7264kbIncorect00
6Depăşit27144kbTime limit exceeded.00
7536msDepăşitMemory limit exceeded.0
8492ms16100kbKilled by signal 11(SIGSEGV).00
9320msDepăşitMemory limit exceeded.0
10492ms16064kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?