# Problem H (NCPC-2006) [ Thu Oct 21 19:19:08 EEST 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/NCPC-2006/H/solutions/random_jm.cc | CE | 0 | n/a | n/a
2 | /home/alt/work/java/djudge/problems/NCPC-2006/H/solutions/random_ng.java | AC | 1 | 1s 188 ms | 30 416 896
3 | /home/alt/work/java/djudge/problems/NCPC-2006/H/solutions/random_pa.cc | CE | 0 | n/a | n/a
4 | /home/alt/work/java/djudge/problems/NCPC-2006/H/solutions/random_tab.java | AC | 1 | 996 ms | 30 126 80

### Results of testing '/home/alt/work/java/djudge/problems/NCPC-2006/H/solutions/random_jm.cc'

Compilation Error
    random_jm.cc: In function ‘int main()’:
    random_jm.cc:19: error: ‘memset’ was not declared in this scope
    random_jm.cc:26: warning: comparison between signed and unsigned integer expressions

### Results of testing '/home/alt/work/java/djudge/problems/NCPC-2006/H/solutions/random_ng.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 1s 188 ms of 2s 0 ms | 30 416 896 of 67 108 864 | 102 | AC | OK 29 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_19-18-58-829_ex/

### Results of testing '/home/alt/work/java/djudge/problems/NCPC-2006/H/solutions/random_pa.cc'

Compilation Error
    random_pa.cc: In function ‘int main()’:
    random_pa.cc:20: error: ‘memcpy’ was not declared in this scope
    random_pa.cc:20: error: ‘memset’ was not declared in this scope
    random_pa.cc:21: warning: comparison between signed and unsigned integer expressions
    random_pa.cc:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    random_pa.cc:11: 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-2006/H/solutions/random_tab.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 996 ms of 2s 0 ms | 30 126 80 of 67 108 864 | 102 | AC | OK 29 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_19-19-06-124_ex/