Borderou de evaluare (job #1572421)

Utilizator RazvanR104Razvan-Andrei Ciocoiu RazvanR104 Data 18 ianuarie 2016 22:02:05
Problema Perb Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] str[i] = C[str[i]]; ^ user.cpp:45:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] ++cnt[index][str[j]]; ^ user.cpp:26:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &N, &M); ^ user.cpp:27:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", str + 1); ^ user.cpp:69:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(line); ^ /tmp/ccbiF7vN.o: In function `main': user.cpp:(.text.startup+0x345): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1964kbOK10
20ms2008kbOK10
320ms2184kbOK10
428ms2060kbOK10
580ms2016kbOK10
6192ms2428kbOK10
7524ms2660kbOK10
8988ms2904kbOK10
9Depăşit3096kbTime limit exceeded.0
10Depăşit3336kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?