Borderou de evaluare (job #2428671)

Utilizator LorinBudacaLorin Budaca LorinBudaca Data 6 iunie 2019 00:31:11
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'void strcp(char*, char*)': main.cpp:14:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0; i<strlen(b); i++) ~^~~~~~~~~~ main.cpp:16:12: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] aux[i]=NULL; ^~~~ main.cpp:17:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0; i<strlen(aux); i++) ~^~~~~~~~~~~~ main.cpp:20:10: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] a[i]=NULL; ^~~~ main.cpp: In function 'int main()': main.cpp:122:12: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] s[l+1]=NULL; ^~~~ main.cpp:126:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i<strlen(s); i++) ~^~~~~~~~~~ main.cpp:132:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=dupa; j<=strlen(s); j++) ~^~~~~~~~~~~ main.cpp:169:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s[j-2]=='T'&&s[j-3]=='O'); ^~ main.cpp:170:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' j-=4; ^ main.cpp:177:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s[j-2]=='T'&&s[j-3]=='O'); ^~ main.cpp:178:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' j-=4; ^ main.cpp:185:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s[j-2]=='T'&&s[j-3]=='O'); ^~ main.cpp:186:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' j-=4; ^ main.cpp:193:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s[j-2]=='T'&&s[j-3]=='O'); ^~ main.cpp:194:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' j-=4; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK10
22ms131kbIncorect0
33ms131kbIncorect0
43ms131kbIncorect0
535ms196kbIncorect0
621ms204kbOK10
715ms200kbOK10
810ms131kbOK10
914ms131kbOK10
1015ms131kbOK10
Punctaj total60

Ceva nu functioneaza?