Borderou de evaluare (job #2984744)

Utilizator tPilgrimSouca Vlad Cristian tPilgrim Data 24 februarie 2023 19:55:32
Problema Tastatură defectă Status done
Runda arhiva-utcn Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:22:32: warning: NULL used in arithmetic [-Wpointer-arith] 22 | for(int i=0; s[i]!=NULL; i++) | ^~~~ main.cpp:32:34: warning: NULL used in arithmetic [-Wpointer-arith] 32 | for(int i=0; rep[i]!=NULL; i++) | ^~~~ main.cpp:13:13: warning: unused variable 'c' [-Wunused-variable] 13 | int k=0,c=0; | ^ main.cpp:41:19: warning: 'char* strcpy(char*, const char*)' accessing 1 byte at offsets 0 and [0, 2001] may overlap 1 byte at offset 0 [-Wrestrict] 41 | strcpy(rep, rep+k); | ~~~~~~^~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbIncorect0
Punctaj total0

Ceva nu functioneaza?