Borderou de evaluare (job #2122827)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 5 februarie 2018 15:47:43
Problema Mesaje Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 16

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:23: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] while('a' <= prev && prev <= 'z' || 'a' <= c && c <= 'z'){ ^ user.cpp:44:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < ind[1].size(); j++) ^ user.cpp:41:9: warning: variable ‘best’ set but not used [-Wunused-but-set-variable] int best, nr; ^ user.cpp: In function ‘char nextch()’: user.cpp:10:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buf, BUF_SIZE, 1, fi); ^ user.cpp: In function ‘int main()’: user.cpp:26:23: warning: ‘prev’ may be used uninitialized in this function [-Wmaybe-uninitialized] while('a' <= prev && prev <= 'z' || 'a' <= c && c <= 'z'){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit2992kbTime limit exceeded.0
20ms1324kbRaspuns partial corect4
30ms1328kbRaspuns partial corect4
44ms1400kbKilled by signal 11(SIGSEGV).0
50ms1356kbRaspuns partial corect4
60ms1348kbRaspuns partial corect4
720ms1580kbKilled by signal 11(SIGSEGV).0
8Depăşit2236kbTime limit exceeded.0
968ms1928kbKilled by signal 11(SIGSEGV).0
1084ms1880kbKilled by signal 11(SIGSEGV).0
Punctaj total16

Ceva nu functioneaza?