# Problem G (NCPC-2007) [ Thu Oct 21 19:22:17 EEST 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/NCPC-2007/G/solutions/dolls_ab.c | CE | 0 | n/a | n/a
2 | /home/alt/work/java/djudge/problems/NCPC-2007/G/solutions/dolls_mg.java | TLE | 0 | 2s 948 ms | 31 813 632
3 | /home/alt/work/java/djudge/problems/NCPC-2007/G/solutions/dolls_ng.cpp | AC | 1 | 344 ms | 778 240
4 | /home/alt/work/java/djudge/problems/NCPC-2007/G/solutions/dolls_tab.java | AC | 1 | 940 ms | 30 310 400

### Results of testing '/home/alt/work/java/djudge/problems/NCPC-2007/G/solutions/dolls_ab.c'

Compilation Error
    dolls_ab.cc: In function ‘int main()’:
    dolls_ab.cc:37: error: ‘qsort’ was not declared in this scope
    dolls_ab.cc:29: warning: unused variable ‘j’
    dolls_ab.cc:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    dolls_ab.cc:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    dolls_ab.cc:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

### Results of testing '/home/alt/work/java/djudge/problems/NCPC-2007/G/solutions/dolls_mg.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 0 | 2s 948 ms of 2s 0 ms | 31 813 632 of 67 108 864 | 84 | TLE |  | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_19-22-09-538_ex/

### Results of testing '/home/alt/work/java/djudge/problems/NCPC-2007/G/solutions/dolls_ng.cpp'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 344 ms of 2s 0 ms | 778 240 of 67 108 864 | 88 | AC | OK 20 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_19-22-14-363_ex/

### Results of testing '/home/alt/work/java/djudge/problems/NCPC-2007/G/solutions/dolls_tab.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 940 ms of 2s 0 ms | 30 310 400 of 67 108 864 | 88 | AC | OK 20 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_19-22-16-642_ex/