Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #3347048)
| Utilizator | 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 |
|---|---|---|---|---|
| 1 | 1ms | 303kb | Incorect | 0 |
| Punctaj total | 0 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
