Borderou de evaluare (job #2428670)

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

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:174:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s[j-2]=='T'&&s[j-3]=='O'); ^~ main.cpp:175:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' j-=4; ^ main.cpp:182:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s[j-2]=='T'&&s[j-3]=='O'); ^~ main.cpp:183:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' j-=4; ^ main.cpp:190:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s[j-2]=='T'&&s[j-3]=='O'); ^~ main.cpp:191: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
23ms131kbIncorect0
32ms131kbIncorect0
44ms131kbIncorect0
518ms131kbOK10
617ms200kbOK10
711ms196kbOK10
815ms200kbOK10
916ms196kbOK10
1017ms200kbOK10
Punctaj total70

Ceva nu functioneaza?