Borderou de evaluare (job #2117495)

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

Raport evaluator

Compilare: user.cpp: In function ‘std::string max_lexic(std::string)’: user.cpp:45:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i(2); i < s.size() - 1; i++) { ^ user.cpp:62:11: warning: statement has no effect [-Wunused-value] for (p; p < s.size() - 1; p++) ^ user.cpp:62: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:88:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i(1); i < rez.size(); i++) ^ user.cpp:76:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n);//in >> n >> (litera + 1); ^ user.cpp:77: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:80: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);//in >> a >> b; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms6316kbOK1010
212ms6500kbOK1010
384ms8792kbOK1020
464ms9152kbOK10
580ms10236kbOK1010
6164ms13336kbOK1020
7148ms16524kbOK10
8964ms26932kbOK100
9308ms19068kbOK10
10Depăşit30908kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?