# Problem F (NCPC-2004) [ Sun Dec 26 18:36:03 EET 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/NCPC-2004/F/solutions/lazy.c | CE | 0 | n/a | n/a
2 | /home/alt/work/java/djudge/problems/NCPC-2004/F/solutions/lazy_mg.java | AC | 1 | 164 ms | 17 612 800

### Results of testing '/home/alt/work/java/djudge/problems/NCPC-2004/F/solutions/lazy.c'

Compilation Error
    lazy.cc:35: error: declaration of ‘char* expression::name’
    lazy.cc:34: error: conflicts with previous declaration ‘expression:: expression::name’
    lazy.cc:50: warning: deprecated conversion from string constant to ‘char*’
    lazy.cc:50: warning: deprecated conversion from string constant to ‘char*’
    lazy.cc:50: warning: deprecated conversion from string constant to ‘char*’
    lazy.cc:50: warning: deprecated conversion from string constant to ‘char*’
    lazy.cc:50: warning: deprecated conversion from string constant to ‘char*’
    lazy.cc:50: warning: deprecated conversion from string constant to ‘char*’
    lazy.cc:50: warning: deprecated conversion from string constant to ‘char*’
    lazy.cc:50: warning: deprecated conversion from string constant to ‘char*’
    lazy.cc:50: warning: deprecated conversion from string constant to ‘char*’
    lazy.cc: In function ‘void free_expression(expression*)’:
    lazy.cc:86: error: ‘fcall’ was not declared in this scope
    lazy.cc: In function ‘expression* parse_expression(char*, char**, int, char**)’:
    lazy.cc:129: error: ‘constant’ was not declared in this scope
    lazy.cc:137: error: lvalue required as left operand of assignment
    lazy.cc:138: error: cannot convert ‘expression::’ to ‘char*’ for argument ‘1’ to ‘char* strncpy(char*, const char*, size_t)’
    lazy.cc:139: error: invalid type argument of ‘unary *’
    lazy.cc:140: error: ‘name’ was not declared in this scope
    lazy.cc:143: error: cannot convert ‘expression::’ to ‘char*’ for argument ‘1’ to ‘int lookup_function(char*)’
    lazy.cc:144: error: cannot convert ‘expression::’ to ‘void*’ for argument ‘1’ to ‘void free(void*)’
    lazy.cc:147: error: cannot convert ‘expression::’ to ‘const char*’ for argument ‘2’ to ‘int strcmp(const char*, const char*)’
    lazy.cc:149: error: ‘argument’ was not declared in this scope
    lazy.cc:151: error: cannot convert ‘expression::’ to ‘void*’ for argument ‘1’ to ‘void free(void*)’
    lazy.cc:158: error: ‘fcall’ was not declared in this scope
    lazy.cc: In function ‘int builtin(expression*, int)’:
    lazy.cc:219: error: ‘constant’ was not declared in this scope
    lazy.cc:228: error: ‘name’ was not declared in this scope
    lazy.cc:243: error: ‘constant’ was not declared in this scope
    lazy.cc: In function ‘expression* copy_and_substitute(expression*, int, expression**)’:
    lazy.cc:261: error: ‘argument’ was not declared in this scope
    lazy.cc:269: error: ‘fcall’ was not declared in this scope
    lazy.cc:274: error: ‘argument’ was not declared in this scope
    lazy.cc: In function ‘void process_expression(expression*, int)’:
    lazy.cc:289: error: ‘fcall’ was not declared in this scope
    lazy.cc:316: error: ‘constant’ was not declared in this scope
    lazy.cc: In function ‘void convert_names(expression*)’:
    lazy.cc:326: error: ‘name’ was not declared in this scope
    lazy.cc:328: error: cannot convert ‘expression::’ to ‘char*’ for argument ‘1’ to ‘int lookup_function(char*)’
    lazy.cc:329: error: cannot convert ‘expression::’ to ‘void*’ for argument ‘1’ to ‘void free(void*)’
    lazy.cc:331: error: ‘fcall’ was not declared in this scope
    lazy.cc: In function ‘int main()’:
    lazy.cc:347: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result
    lazy.cc:351: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result
    lazy.cc:364: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result

### Results of testing '/home/alt/work/java/djudge/problems/NCPC-2004/F/solutions/lazy_mg.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 164 ms of 2s 0 ms | 17 612 800 of 67 108 864 | 94 | AC | OK 6 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-26_18-36-03-135_ex/