Borderou de evaluare (job #3347015)

Utilizator RDumitruGRoman Gheorghe Dumitru RDumitruG Data 15 martie 2026 14:35:47
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:26:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 26 | for(int i =0;i<strlen(b)-2;i++) | ~^~~~~~~~~~~~ main.cpp:33:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 33 | while(p=strstr(a,s)) | ~^~~~~~~~~~~~ main.cpp:45:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 45 | if(pres+2==strlen(b)) | ~~~~~~^~~~~~~~~~~ main.cpp:52:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 52 | if(pres+2!=strlen(b)) | ~~~~~~^~~~~~~~~~~ main.cpp:15:13: warning: unused variable 'nr' [-Wunused-variable] 15 | int nr = 0; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?