Borderou de evaluare (job #1332976)

Utilizator zombacDica Razvan zombac Data 2 februarie 2015 17:15:14
Problema Cristale Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] V[a] = V[b] = V[c] = 0; ^ user.cpp:14:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] V[a] = V[b] = V[c] = 0; ^ user.cpp:14:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] V[a] = V[b] = V[c] = 0; ^ user.cpp:19:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] V[ch]++; ^ user.cpp:22:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (!(V[a] | V[b])) fout << N << '\n'; ^ user.cpp:22:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (!(V[a] | V[b])) fout << N << '\n'; ^ user.cpp:23:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if (!(V[a] | V[c])) fout << N << '\n'; ^ user.cpp:23:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if (!(V[a] | V[c])) fout << N << '\n'; ^ user.cpp:24:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if (!(V[b] | V[c])) fout << N << '\n'; ^ user.cpp:24:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if (!(V[b] | V[c])) fout << N << '\n'; ^ user.cpp:25:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if ((V[a] & 1) && (V[b] & 1) && (V[c] & 1)) fout << "2\n"; ^ user.cpp:25:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if ((V[a] & 1) && (V[b] & 1) && (V[c] & 1)) fout << "2\n"; ^ user.cpp:25:50: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if ((V[a] & 1) && (V[b] & 1) && (V[c] & 1)) fout << "2\n"; ^ user.cpp:26:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if (!(V[a] & 1) && !(V[b] & 1) && !(V[c] & 1)) fout << "2\n"; ^ user.cpp:26:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if (!(V[a] & 1) && !(V[b] & 1) && !(V[c] & 1)) fout << "2\n"; ^ user.cpp:26:53: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if (!(V[a] & 1) && !(V[b] & 1) && !(V[c] & 1)) fout << "2\n"; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms396kbOK10
20ms392kbOK10
30ms392kbOK10
40ms404kbOK10
50ms408kbOK10
60ms412kbOK10
70ms404kbOK10
80ms392kbOK10
90ms408kbOK10
100ms412kbOK10
Punctaj total100

Ceva nu functioneaza?