Borderou de evaluare (job #2044492)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 21 octombrie 2017 10:39:03
Problema Seif Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int get_next(std::vector<int>, char, int)’: user.cpp:17:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(rez + pas < ind.size() && ind[rez + pas] <= pos) ^ user.cpp:20:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(rez == ind.size()) ^ user.cpp: In function ‘int main()’: user.cpp:59:39: warning: array subscript has type ‘char’ [-Wchar-subscripts] int pa = get_next(inda[ch], ch, posa), pb = get_next(indb[ch], ch, posb); ^ user.cpp:59:74: warning: array subscript has type ‘char’ [-Wchar-subscripts] int pa = get_next(inda[ch], ch, posa), pb = get_next(indb[ch], ch, posb); ^ user.cpp:31:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&t); ^ user.cpp:34:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&k); ^ user.cpp:35:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%s %s " , A + 1, B + 1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms4348kbOK10
216ms4348kbOK10
320ms4352kbOK10
440ms4360kbOK10
568ms4372kbOK10
672ms4376kbOK10
780ms4372kbOK10
8100ms4380kbOK10
996ms4380kbOK10
1096ms4384kbOK10
Punctaj total100

Ceva nu functioneaza?