Borderou de evaluare (job #3347048)

Utilizator RDumitruGRoman Gheorghe Dumitru RDumitruG Data 15 martie 2026 14:51:54
Problema CheatGPT Status done
Runda Universitatea Tehnică din Cluj-Napoca - 2026 - Concurs Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:33:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for(int i =0;i<strlen(b)-2;i++) | ~^~~~~~~~~~~~ main.cpp:40:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 40 | while(p=strstr(a,s)) | ~^~~~~~~~~~~~ main.cpp:53:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 53 | if(pres==strlen(b) || (pres == nr && strlen(b) > strlen(a))) | ~~~~^~~~~~~~~~~ main.cpp:60:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 60 | if(pres!=strlen(b)) | ~~~~^~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?