Borderou de evaluare (job #2738901)

Utilizator MoldovanAndrei1Moldovan Andrei MoldovanAndrei1 Data 6 aprilie 2021 14:57:25
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("strmatch.in","r",stdin); ^ main.cpp:12:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("strmatch.out","w",stdout); ^ main.cpp:13:29: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(s1,NMAX*2+5,stdin); ^ main.cpp:14:29: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(s2,NMAX*2+5,stdin); ^ In file included from /usr/include/stdio.h:936:0, from /usr/include/c++/6/cstdio:42, from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:46, from main.cpp:1: In function 'char* fgets(char*, int, FILE*)', inlined from 'int main()' at main.cpp:13:29: /usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^ In function 'char* fgets(char*, int, FILE*)', inlined from 'int main()' at main.cpp:14:29: /usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK22
22ms131kbOK22
32ms131kbOK22
43ms131kbOK22
52ms131kbOK22
62ms131kbOK22
72ms131kbOK22
82ms131kbOK22
92ms131kbOK22
102ms131kbOK22
112ms131kbOK22
122ms131kbOK22
133ms131kbOK22
143ms131kbOK22
152ms131kbOK22
162ms131kbOK22
172ms131kbOK22
182ms131kbOK22
192ms131kbOK22
202ms131kbOK22
2174ms1310kbOK220
22110ms3268kbOK2
2382ms1835kbOK2
2477ms1441kbOK2
2555ms1310kbOK2
26101ms2097kbOK2
27101ms1835kbOK2
2882ms1441kbOK2
2972ms1572kbOK2
30119ms2097kbOK2
3198ms2097kbOK220
32110ms1966kbOK2
3383ms1703kbOK2
34106ms1966kbOK2
35113ms2097kbOK2
3667ms1310kbOK2
37113ms2097kbOK2
3876ms1703kbOK2
3978ms1441kbOK2
4068ms1572kbOK2
4198ms1835kbOK220
4265ms1441kbOK2
43112ms1835kbOK2
4483ms1835kbOK2
4585ms1703kbOK2
4675ms1572kbOK2
4788ms1835kbOK2
48112ms2097kbOK2
49152ms7454kbOK2
50138ms10596kbOK2
Punctaj total100

Ceva nu functioneaza?