# Problem G (NCPC-2006) [ Thu Oct 21 19:18:55 EEST 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/NCPC-2006/G/solutions/G-alt-memory-slow.cpp | AC | 1 | 4s 28 ms | 67 768 320
2 | /home/alt/work/java/djudge/problems/NCPC-2006/G/solutions/G-alt-slow.cpp | AC | 1 | 2s 476 ms | 9 68 544
3 | /home/alt/work/java/djudge/problems/NCPC-2006/G/solutions/G-alt-slow2.cpp | AC | 1 | 1s 564 ms | 9 72 640
4 | /home/alt/work/java/djudge/problems/NCPC-2006/G/solutions/whacamole_jm.cc | CE | 0 | n/a | n/a
5 | /home/alt/work/java/djudge/problems/NCPC-2006/G/solutions/whacamole_ng.java | AC | 1 | 1s 676 ms | 14 999 552
6 | /home/alt/work/java/djudge/problems/NCPC-2006/G/solutions/whacamole_pa.cc | CE | 0 | n/a | n/a
7 | /home/alt/work/java/djudge/problems/NCPC-2006/G/solutions/whacamole_tab.java | AC | 1 | 1s 988 ms | 22 646 784

### Results of testing '/home/alt/work/java/djudge/problems/NCPC-2006/G/solutions/G-alt-memory-slow.cpp'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 4s 28 ms of 20s 0 ms | 67 768 320 of 671 88 640 | 93 | AC | OK 32 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_19-18-24-960_ex/

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 2s 476 ms of 20s 0 ms | 9 68 544 of 671 88 640 | 93 | AC | OK 32 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_19-18-33-690_ex/

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 1s 564 ms of 20s 0 ms | 9 72 640 of 671 88 640 | 93 | AC | OK 32 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_19-18-40-528_ex/

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

Compilation Error
    whacamole_jm.cc: In function ‘int main()’:
    whacamole_jm.cc:12: error: ‘memset’ was not declared in this scope
    whacamole_jm.cc:28: error: expected primary-expression before ‘?’ token
    whacamole_jm.cc:28: error: expected primary-expression before ‘=’ token
    whacamole_jm.cc:28: error: expected ‘:’ before ‘;’ token
    whacamole_jm.cc:28: error: expected primary-expression before ‘;’ token
    whacamole_jm.cc:38: error: expected primary-expression before ‘?’ token
    whacamole_jm.cc:38: error: expected primary-expression before ‘=’ token
    whacamole_jm.cc:38: error: expected ‘:’ before ‘;’ token
    whacamole_jm.cc:38: error: expected primary-expression before ‘;’ token

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 1s 676 ms of 20s 0 ms | 14 999 552 of 671 88 640 | 93 | AC | OK 32 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_19-18-46-845_ex/

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

Compilation Error
    whacamole_pa.cc: In function ‘int gcd(int, int)’:
    whacamole_pa.cc:6: error: expected primary-expression before ‘?’ token
    whacamole_pa.cc:6: error: expected ‘:’ before ‘)’ token
    whacamole_pa.cc:6: error: expected primary-expression before ‘)’ token
    whacamole_pa.cc: In function ‘int main()’:
    whacamole_pa.cc:14: error: expected primary-expression before ‘?’ token
    whacamole_pa.cc:14: error: expected primary-expression before ‘=’ token
    whacamole_pa.cc:14: error: expected ‘:’ before ‘)’ token
    whacamole_pa.cc:14: error: expected primary-expression before ‘)’ token
    whacamole_pa.cc:15: error: expected primary-expression before ‘?’ token
    whacamole_pa.cc:15: error: ‘di’ was not declared in this scope
    whacamole_pa.cc:15: error: expected ‘:’ before ‘;’ token
    whacamole_pa.cc:15: error: expected primary-expression before ‘;’ token
    whacamole_pa.cc:15: error: expected primary-expression before ‘?’ token
    whacamole_pa.cc:15: error: expected ‘:’ before ‘;’ token
    whacamole_pa.cc:15: error: expected primary-expression before ‘;’ token
    whacamole_pa.cc:16: error: expected primary-expression before ‘?’ token
    whacamole_pa.cc:16: error: ‘dj’ was not declared in this scope
    whacamole_pa.cc:16: error: ‘s’ was not declared in this scope
    whacamole_pa.cc:16: error: expected ‘:’ before ‘;’ token
    whacamole_pa.cc:16: error: expected primary-expression before ‘;’ token
    whacamole_pa.cc:16: error: expected primary-expression before ‘?’ token
    whacamole_pa.cc:16: error: expected ‘:’ before ‘;’ token
    whacamole_pa.cc:16: error: expected primary-expression before ‘;’ token
    whacamole_pa.cc:18: error: expected primary-expression before ‘?’ token
    whacamole_pa.cc:18: error: expected primary-expression before ‘?’ token
    whacamole_pa.cc:18: error: expected ‘:’ before ‘)’ token
    whacamole_pa.cc:18: error: expected primary-expression before ‘)’ token
    whacamole_pa.cc:18: error: expected ‘:’ before ‘)’ token
    whacamole_pa.c

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 1s 988 ms of 20s 0 ms | 22 646 784 of 671 88 640 | 93 | AC | OK 32 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_19-18-52-396_ex/