Borderou de evaluare (job #2825138)

Utilizator BalasaRaduBalasa Radu BalasaRadu Data 4 ianuarie 2022 08:45:54
Problema Lant Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:47:24: warning: NULL used in arithmetic [-Wpointer-arith] 47 | while(line[i]!=NULL){ | ^~~~ main.cpp:48:47: warning: NULL used in arithmetic [-Wpointer-arith] 48 | while(!isalpha(line[i])&&line[i]!=NULL){ | ^~~~ main.cpp:53:50: warning: NULL used in arithmetic [-Wpointer-arith] 53 | while(isalpha(line[i])&&line[i]!=NULL){ | ^~~~ main.cpp:54:26: warning: array subscript has type 'char' [-Wchar-subscripts] 54 | aux[l++]=line[i]; | ~^~ main.cpp:67:28: warning: array subscript has type 'char' [-Wchar-subscripts] 67 | cuv[n][l]=NULL; | ^ main.cpp:67:31: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] 67 | cuv[n][l]=NULL; | ^~~~ main.cpp:86:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 86 | for(int j=0;j<v[i].size();j++){ | ~^~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbIncorect0
26ms335kbIncorect0
36ms331kbIncorect0
42ms184kbIncorect0
52ms184kbIncorect0
62ms184kbIncorect0
72ms184kbOK10
811ms327kbIncorect0
92ms184kbIncorect0
106ms315kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?