Borderou de evaluare (job #735454)

Utilizator avatar amalia15 Amalia Patru amalia15 IP ascuns
Problemă Parola (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 3 oct. 2023 19:09:46 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:33:16: warning: 'char* __builtin___strncat_chk(char*, const char*, unsigned int, unsigned int)' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation] 33 | strncat(parola,a,1); | ^ main.cpp:35:16: warning: 'char* __builtin___strncat_chk(char*, const char*, unsigned int, unsigned int)' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation] 35 | strncat(parola,bogl,1); | ^ In file included from /usr/include/string.h:535, from /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/cstring:42, from main.cpp:3: In function 'char* strcpy(char*, const char*)', inlined from 'int main()' at main.cpp:13:11: /usr/include/bits/string_fortified.h:79: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] 79 | 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