Borderou de evaluare (job #976964)

Utilizator blasterzMircea Dima blasterz Data 24 iulie 2013 14:30:34
Problema Text3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] mx[ a[1][ len[1] - 1 ] ] = 1; ^ user.cpp:39:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] poz[ a[1][ len[1] - 1] ] = 1; ^ user.cpp:42:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (dp[i] < mx[ a[i][0] ] + 1) ^ user.cpp:43:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] dp[i] = mx[ a[i][0] ] + 1, ^ user.cpp:44:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] t[i] = poz[ a[i][0] ]; ^ user.cpp:47:43: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (dp[i] > mx[ a[i][ len[i] - 1] ]) ^ user.cpp:48:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] mx[ a[i][ len[i] - 1] ] = dp[i], ^ user.cpp:49:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] poz[ a[i][ len[i] - 1] ] = i; ^ user.cpp:36:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j; ^ /tmp/ccffRrxv.o: In function `main': user.cpp:(.text.startup+0x79): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms300kbCorect10
24ms288kbCorect10
30ms240kbCorect10
40ms240kbCorect10
54ms572kbCorect10
64ms736kbCorect10
70ms236kbCorect10
88ms1128kbCorect10
94ms260kbCorect10
104ms288kbCorect10
Punctaj total100

Ceva nu functioneaza?