Borderou de evaluare (job #2532914)

Utilizator alextodoranTodoran Alexandru Raul alextodoran Data 28 ianuarie 2020 16:32:42
Problema Tom & Jerry Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int read_int()': main.cpp:47:31: warning: array subscript has type 'char' [-Wchar-subscripts] while(!isd[c = read_char()]); ^ main.cpp:49:16: warning: array subscript has type 'char' [-Wchar-subscripts] while(isd[c]) ^ main.cpp: In function 'int main()': main.cpp:121:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(cntTom[s.tpos][s.jpos][s.turn] == edges[s.jpos].size()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:141:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(cntTom[s.tpos][s.jpos][s.turn] == edges[s.jpos].size()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'char read_char()': main.cpp:38:54: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(buffer, sizeof(char), BUFFER_SIZE, fin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
22ms131kbOK5
33ms262kbOK5
45ms262kbOK5
56ms262kbOK5
6973ms2789kbOK5
76ms262kbOK5
814ms393kbOK5
912ms393kbOK5
1012ms262kbOK5
1137ms524kbOK5
1260ms524kbOK5
1320ms393kbOK5
141631ms2908kbOK5
151924ms2850kbOK5
16313ms1400kbOK5
171226ms2887kbOK5
182757ms2826kbOK5
192355ms2920kbOK5
201749ms2887kbOK5
Punctaj total100

Ceva nu functioneaza?