Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #2509494) | Cod sursa (job #1164036) | Monitorul de evaluare | Borderou de evaluare (job #1519710)
Borderou de evaluare (job #1519710)
Raport evaluator
Compilare:
user.cpp: In function ‘void add(Trie*, char*)’:
user.cpp:18:12: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s==NULL){
^
user.cpp: In function ‘int count(Trie*, char*)’:
user.cpp:30:12: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s==NULL){
^
user.cpp: In function ‘bool remove(Trie*, char*)’:
user.cpp:39:12: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s==NULL){
^
user.cpp: In function ‘int pref(Trie*, char*)’:
user.cpp:59:12: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s==NULL||node->son[s[0]-'a']==NULL){
^
user.cpp: In function ‘int main()’:
user.cpp:69:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[21]’ [-Wformat=]
while(scanf("%d %s",&tip,&s)!=EOF){
^
user.cpp:80:13: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int x;
^
user.cpp:66:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.in","r",stdin);
^
user.cpp:67:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 272kb | OK | 5 | 5 |
| 2 | 0ms | 280kb | OK | 5 | 5 |
| 3 | 0ms | 280kb | OK | 5 | 5 |
| 4 | 0ms | 276kb | OK | 5 | 5 |
| 5 | 0ms | 280kb | OK | 5 | 5 |
| 6 | 0ms | 288kb | OK | 5 | 5 |
| 7 | 0ms | 300kb | OK | 5 | 5 |
| 8 | 4ms | 300kb | OK | 5 | 5 |
| 9 | 8ms | 440kb | OK | 5 | 5 |
| 10 | 12ms | 940kb | OK | 5 | 5 |
| 11 | 16ms | 340kb | OK | 5 | 5 |
| 12 | 28ms | 1636kb | OK | 5 | 5 |
| 13 | 32ms | 1388kb | OK | 5 | 5 |
| 14 | 32ms | 548kb | OK | 5 | 5 |
| 15 | 40ms | 520kb | OK | 5 | 10 |
| 16 | 88ms | 10112kb | OK | 5 |
| 17 | 56ms | 300kb | OK | 5 | 10 |
| 18 | 96ms | 7444kb | OK | 5 |
| 19 | 52ms | 304kb | OK | 5 | 10 |
| 20 | 100ms | 13488kb | OK | 5 |
| Punctaj total | 100 |