# Problem E (NWERC-2006) [ Fri Oct 22 16:22:53 EEST 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/NWERC-2006/E/solutions/bookcase_ab.c | CE | 0 | n/a | n/a
2 | /home/alt/work/java/djudge/problems/NWERC-2006/E/solutions/bookcase_jk.cc | CE | 0 | n/a | n/a
3 | /home/alt/work/java/djudge/problems/NWERC-2006/E/solutions/bookcase_jm.java | AC | 1 | 7s 428 ms | 33 697 792
4 | /home/alt/work/java/djudge/problems/NWERC-2006/E/solutions/bookcase_mg.java | AC | 1 | 3s 640 ms | 40 255 488
5 | /home/alt/work/java/djudge/problems/NWERC-2006/E/solutions/bookcase_pa.cc | CE | 0 | n/a | n/a

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2006/E/solutions/bookcase_ab.c'

Compilation Error
    bookcase_ab.cc: In function ‘int main()’:
    bookcase_ab.cc:30: error: invalid conversion from ‘int (*)(void*, void*)’ to ‘int (*)(const void*, const void*)’
    bookcase_ab.cc:30: error:   initializing argument 4 of ‘void qsort(void*, size_t, size_t, int (*)(const void*, const void*))’
    bookcase_ab.cc:23: warning: unused variable ‘sum’
    bookcase_ab.cc:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    bookcase_ab.cc:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    bookcase_ab.cc:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2006/E/solutions/bookcase_jk.cc'

Compilation Error
    bookcase_jk.cc: In function ‘int main()’:
    bookcase_jk.cc:40: error: expected primary-expression before ‘?’ token
    bookcase_jk.cc:40: error: expected primary-expression before ‘=’ token
    bookcase_jk.cc:40: error: expected ‘:’ before ‘;’ token
    bookcase_jk.cc:40: error: expected primary-expression before ‘;’ token
    bookcase_jk.cc:41: error: expected primary-expression before ‘?’ token
    bookcase_jk.cc:41: error: expected primary-expression before ‘=’ token
    bookcase_jk.cc:41: error: expected ‘:’ before ‘;’ token
    bookcase_jk.cc:41: error: expected primary-expression before ‘;’ token
    bookcase_jk.cc:42: error: expected primary-expression before ‘?’ token
    bookcase_jk.cc:42: error: expected primary-expression before ‘=’ token
    bookcase_jk.cc:42: error: expected ‘:’ before ‘;’ token
    bookcase_jk.cc:42: error: expected primary-expression before ‘;’ token
    bookcase_jk.cc:43: error: expected primary-expression before ‘?’ token
    bookcase_jk.cc:43: error: expected primary-expression before ‘=’ token
    bookcase_jk.cc:43: error: expected ‘:’ before ‘;’ token
    bookcase_jk.cc:43: error: expected primary-expression before ‘;’ token
    bookcase_jk.cc:46: error: ‘INT_MAX’ was not declared in this scope
    bookcase_jk.cc:49: error: expected primary-expression before ‘?’ token
    bookcase_jk.cc:49: error: expected primary-expression before ‘=’ token
    bookcase_jk.cc:49: error: expected primary-expression before ‘?’ token
    bookcase_jk.cc:49: error: expected primary-expression before ‘?’ token
    bookcase_jk.cc:49: error: expected ‘:’ before ‘)’ token
    bookcase_jk.cc:49: error: expected primary-expression before ‘)’ token
    bookcase_jk.cc:49: error: expected ‘:’ before ‘)’ token
    bookcase_jk.cc:49: error: expected primary-expression before ‘)’ token
    bookcase_jk.cc:49: error: expected ‘:’ before ‘;’ token
    bookcase_jk.cc:49: error: expected primary-expression before ‘;’ token

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2006/E/solutions/bookcase_jm.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 7s 428 ms of 10s 0 ms | 33 697 792 of 67 108 864 | 132 | AC | OK 20 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-22_16-22-40-240_ex/

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2006/E/solutions/bookcase_mg.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 3s 640 ms of 10s 0 ms | 40 255 488 of 67 108 864 | 132 | AC | OK 20 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-22_16-22-49-179_ex/

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2006/E/solutions/bookcase_pa.cc'

Compilation Error
    bookcase_pa.cc: In function ‘int main()’:
    bookcase_pa.cc:37: error: ‘memset’ was not declared in this scope
    bookcase_pa.cc:53: error: expected primary-expression before ‘?’ token
    bookcase_pa.cc:53: error: expected primary-expression before ‘=’ token
    bookcase_pa.cc:53: error: expected ‘:’ before ‘;’ token
    bookcase_pa.cc:53: error: expected primary-expression before ‘;’ token
    bookcase_pa.cc:64: error: expected primary-expression before ‘?’ token
    bookcase_pa.cc:64: error: expected primary-expression before ‘=’ token
    bookcase_pa.cc:64: error: expected ‘:’ before ‘;’ token
    bookcase_pa.cc:64: error: expected primary-expression before ‘;’ token
    bookcase_pa.cc:68: error: expected primary-expression before ‘?’ token
    bookcase_pa.cc:68: error: expected primary-expression before ‘=’ token
    bookcase_pa.cc:68: error: expected ‘:’ before ‘;’ token
    bookcase_pa.cc:68: error: expected primary-expression before ‘;’ token
    bookcase_pa.cc:74: error: expected primary-expression before ‘?’ token
    bookcase_pa.cc:74: error: expected primary-expression before ‘=’ token
    bookcase_pa.cc:74: error: expected ‘:’ before ‘;’ token
    bookcase_pa.cc:74: error: expected primary-expression before ‘;’ token
    bookcase_pa.cc:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    bookcase_pa.cc:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result