Borderou de evaluare (job #2117435)

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

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
18ms6292kbIncorect00
220ms14752kbKilled by signal 11(SIGSEGV).00
360ms15676kbKilled by signal 11(SIGSEGV).00
448ms7504kbKilled by signal 11(SIGSEGV).0
552ms7236kbIncorect00
6Depăşit26920kbTime limit exceeded.00
7536msDepăşitMemory limit exceeded.0
8488ms16096kbKilled by signal 11(SIGSEGV).00
9320msDepăşitMemory limit exceeded.0
10488ms16056kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?