Borderou de evaluare (job #2478394)

Utilizator ioana.jianuIoana Jianu ioana.jianu Data 21 octombrie 2019 23:47:21
Problema Caps Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:46:24: warning: array subscript has type 'char' [-Wchar-subscripts] fl[i][j] = fl[i - 1][j]; ^ main.cpp:46:39: warning: array subscript has type 'char' [-Wchar-subscripts] fl[i][j] = fl[i - 1][j]; ^ main.cpp:47:25: warning: array subscript has type 'char' [-Wchar-subscripts] flc[i][j] = flc[i - 1][j - 1]; ^ main.cpp:50:24: warning: array subscript has type 'char' [-Wchar-subscripts] fl[i][j] = fl[i - 1][j]; ^ main.cpp:50:39: warning: array subscript has type 'char' [-Wchar-subscripts] fl[i][j] = fl[i - 1][j]; ^ main.cpp:51:25: warning: array subscript has type 'char' [-Wchar-subscripts] flc[i][j] = flc[i - 1][j - 1]; ^ main.cpp:54:19: warning: array subscript has type 'char' [-Wchar-subscripts] fl[i][s[i]]++; ^ main.cpp:55:24: warning: array subscript has type 'char' [-Wchar-subscripts] flc[i][lit[s[i]]]++; ^ main.cpp:55:25: warning: array subscript has type 'char' [-Wchar-subscripts] flc[i][lit[s[i]]]++; ^ main.cpp:69:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (r != n) ~~^~~~ main.cpp:82:26: warning: array subscript has type 'char' [-Wchar-subscripts] ch = lit[s[r]]; ^ main.cpp:83:35: warning: array subscript has type 'char' [-Wchar-subscripts] printf ("%c", lit[s[r]]); ^ main.cpp:86:36: warning: array subscript has type 'char' [-Wchar-subscripts] nap = l / 2 * (fl[n - 1][ch] + flc[n - 1][ch]); ^ main.cpp:86:53: warning: array subscript has type 'char' [-Wchar-subscripts] nap = l / 2 * (fl[n - 1][ch] + flc[n - 1][ch]); ^ main.cpp:89:37: warning: array subscript has type 'char' [-Wchar-subscripts] nap += flc[n - 1][ch]; ^ main.cpp:91:36: warning: array subscript has type 'char' [-Wchar-subscripts] nap += fl[n - 1][ch]; ^ main.cpp:94:28: warning: array subscript has type 'char' [-Wchar-subscripts]
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbCorect10
22ms131kbPartial corect2
33ms262kbPartial corect2
44ms393kbPartial corect2
540ms2228kbPartial corect2
648ms3276kbPartial corect2
754ms4063kbPartial corect2
862ms4849kbPartial corect2
96ms1572kbPartial corect2
108ms2359kbPartial corect2
116ms1441kbPartial corect2
128ms2097kbPartial corect2
1380ms15073kbPartial corect2
14108ms26083kbPartial corect2
15159ms51642kbPartial corect2
16190ms62652kbPartial corect2
17121ms65552kbMemory limit exceeded0
18121ms65552kbMemory limit exceeded0
19121ms65552kbMemory limit exceeded0
Punctaj total40

Ceva nu functioneaza?