Borderou de evaluare (job #813871)

Utilizator avatar Rares_Muse Musetescu Rares Rares_Muse IP ascuns
Problemă Parola (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 11 mar. 2025 19:59:29 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:24:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 24 | while(i < strlen(s) || j >= 0) | ~~^~~~~~~~~~~ main.cpp:26:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 26 | if(i < strlen(s)) | ~~^~~~~~~~~~~ In file included from /usr/include/string.h:548, from /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/cstring:43, from main.cpp:2: In function 'char* strcpy(char*, const char*)', inlined from 'int main()' at main.cpp:21:11: /usr/include/bits/string_fortified.h:81:33: warning: 'char* __builtin___strcpy_chk(char*, const char*, unsigned int)' accessing 1 byte at offsets 0 and [0, 10] may overlap 1 byte at offset 0 [-Wrestrict] 81 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100