Borderou de evaluare (job #2546090)

Utilizator MoldovanAndrei1Moldovan Andrei MoldovanAndrei1 Data 13 februarie 2020 20:03:04
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:7: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:8: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:9:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(s1+1,2000005,stdin); ^ main.cpp:10:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(s2+1,2000005,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:9:30: /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:10:30: /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
42ms131kbOK22
52ms131kbOK22
62ms131kbOK22
72ms131kbOK22
82ms131kbOK22
92ms131kbOK22
102ms131kbOK22
112ms131kbOK22
122ms131kbOK22
133ms131kbOK22
142ms131kbOK22
152ms131kbOK22
162ms131kbOK22
172ms131kbOK22
182ms131kbOK22
192ms131kbOK22
202ms131kbOK22
2179ms1310kbOK220
22100ms2621kbOK2
2327ms1835kbOK2
2422ms1441kbOK2
2520ms1310kbOK2
2645ms2097kbOK2
2728ms1835kbOK2
2843ms1441kbOK2
2926ms1572kbOK2
30272ms2097kbOK2
31292ms2228kbOK220
3233ms1966kbOK2
3365ms1572kbOK2
3440ms1966kbOK2
3556ms2097kbOK2
3667ms1310kbOK2
3736ms2097kbOK2
3840ms1703kbOK2
3926ms1441kbOK2
4033ms1572kbOK2
4137ms1835kbOK20
4224ms1441kbOK2
4354ms1835kbOK2
4430ms1966kbOK2
4536ms1572kbOK2
4624ms1441kbOK2
4736ms1703kbOK2
4833ms2097kbOK2
49300ms3145kbTime limit exceeded0
50293ms10092kbOK2
Punctaj total80

Ceva nu functioneaza?