Borderou de evaluare (job #3347010)

Utilizator RDumitruGRoman Gheorghe Dumitru RDumitruG Data 15 martie 2026 14:31:22
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:40:22: warning: unused variable 'aux' [-Wunused-variable] 40 | char aux[1001]; | ^~~ main.cpp:46:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 46 | if(pres+2==strlen(b)) | ~~~~~~^~~~~~~~~~~ main.cpp:53:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 53 | 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?