Pagini recente » Borderou de evaluare (job #1317347) | Borderou de evaluare (job #2043873) | Borderou de evaluare (job #621121) | Borderou de evaluare (job #3210818) | Borderou de evaluare (job #2197905)
Borderou de evaluare (job #2197905)
Raport evaluator
Compilare:
user.cpp: In member function ‘void Trie::add(int, char*, unsigned int)’:
user.cpp:32:21: warning: NULL used in arithmetic [-Wpointer-arith]
if (s[p] == NULL) {
^~~~
user.cpp: In function ‘int main()’:
user.cpp:115:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(text);
^~~~
In file included from /usr/include/c++/6/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/6/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
user.cpp:115:14: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(text);
^
In file included from /usr/include/c++/6/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/6/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
user.cpp:118:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^~~~
In file included from /usr/include/c++/6/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/6/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
user.cpp:118:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/6/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/6/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
user.cpp: In function ‘void init()’:
user.cpp:107:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ahocorasick.in", "r", stdin);
^
user.cpp:108:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ahocorasick.out", "w", stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:115:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1328kb | OK | 5 |
2 | 0ms | 1336kb | OK | 5 |
3 | 0ms | 1332kb | OK | 5 |
4 | 0ms | 1328kb | OK | 5 |
5 | 0ms | 1336kb | OK | 5 |
6 | 8ms | 1932kb | OK | 5 |
7 | 16ms | 2256kb | OK | 5 |
8 | 20ms | 2628kb | OK | 5 |
9 | 16ms | 2776kb | OK | 5 |
10 | 16ms | 2444kb | OK | 5 |
11 | 16ms | 2264kb | OK | 5 |
12 | 16ms | 2592kb | OK | 5 |
13 | 4ms | 1796kb | OK | 5 |
14 | 8ms | 1892kb | OK | 5 |
15 | 12ms | 2172kb | OK | 5 |
16 | 16ms | 2232kb | OK | 5 |
17 | 28ms | 2264kb | OK | 5 |
18 | 12ms | 2284kb | OK | 5 |
19 | 20ms | 2720kb | OK | 5 |
20 | Depăşit | 3748kb | Time limit exceeded. | 0 |
Punctaj total | 95 |