Borderou de evaluare (job #2546089)

Utilizator MoldovanAndrei1Moldovan Andrei MoldovanAndrei1 Data 13 februarie 2020 20:02:02
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
63ms131kbOK22
72ms131kbOK22
82ms131kbOK22
92ms131kbOK22
102ms131kbOK22
112ms131kbOK22
122ms131kbOK22
133ms131kbOK22
142ms131kbOK22
152ms131kbOK22
162ms131kbOK22
172ms131kbOK22
182ms131kbOK22
192ms131kbOK22
202ms131kbOK22
2175ms1310kbOK220
2297ms2752kbOK2
2328ms1835kbOK2
2422ms1441kbOK2
2519ms1310kbOK2
2645ms2097kbOK2
2726ms1835kbOK2
2841ms1572kbOK2
2925ms1572kbOK2
30276ms2097kbOK2
31287ms2228kbOK220
3239ms1966kbOK2
3358ms1572kbOK2
3443ms1966kbOK2
3556ms2097kbOK2
3666ms1310kbOK2
3726ms2097kbOK2
3841ms1703kbOK2
3926ms1441kbOK2
4032ms1572kbOK2
4135ms1835kbOK20
4226ms1441kbOK2
4352ms1835kbOK2
4437ms1835kbOK2
4535ms1572kbOK2
4624ms1441kbOK2
4738ms1703kbOK2
4831ms2097kbOK2
49300ms3145kbTime limit exceeded0
50257ms6160kbIncorect0
Punctaj total80

Ceva nu functioneaza?