# Problem J (NWERC-2008) [ Fri Oct 22 17:18:15 EEST 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/NWERC-2008/J/solutions/J-alt.cpp | AC | 1 | 240 ms | 5 206 16
2 | /home/alt/work/java/djudge/problems/NWERC-2008/J/solutions/erikjan.java | AC | 1 | 2s 224 ms | 31 801 344
3 | /home/alt/work/java/djudge/problems/NWERC-2008/J/solutions/j1.cpp | AC | 1 | 388 ms | 2 789 376
4 | /home/alt/work/java/djudge/problems/NWERC-2008/J/solutions/j2.cpp | CE | 0 | n/a | n/a
5 | /home/alt/work/java/djudge/problems/NWERC-2008/J/solutions/j3.cpp | CE | 0 | n/a | n/a
6 | /home/alt/work/java/djudge/problems/NWERC-2008/J/solutions/j4.cpp | AC | 1 | 132 ms | 708 608

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2008/J/solutions/J-alt.cpp'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 240 ms of 20s 0 ms | 5 206 16 of 67 108 864 | 75 | AC | OK 29 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-22_17-18-07-929_ex/

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2008/J/solutions/erikjan.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 2s 224 ms of 20s 0 ms | 31 801 344 of 67 108 864 | 75 | AC | OK 29 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-22_17-18-09-415_ex/

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2008/J/solutions/j1.cpp'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 388 ms of 20s 0 ms | 2 789 376 of 67 108 864 | 75 | AC | OK 29 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-22_17-18-12-850_ex/

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2008/J/solutions/j2.cpp'

Compilation Error
    j2.cc: In function ‘void solve()’:
    j2.cc:15: error: ‘scanf’ was not declared in this scope
    j2.cc:16: error: ‘memset’ was not declared in this scope
    j2.cc:19: warning: suggest explicit braces to avoid ambiguous ‘else’
    j2.cc:24: warning: comparison between signed and unsigned integer expressions
    j2.cc:24: error: expected primary-expression before ‘?’ token
    j2.cc:24: error: expected primary-expression before ‘=’ token
    j2.cc:24: error: expected ‘:’ before ‘)’ token
    j2.cc:24: error: expected primary-expression before ‘)’ token
    j2.cc:25: error: expected primary-expression before ‘?’ token
    j2.cc:25: error: expected ‘:’ before ‘;’ token
    j2.cc:25: error: expected primary-expression before ‘;’ token
    j2.cc:26: error: ‘printf’ was not declared in this scope
    j2.cc: In function ‘int main()’:
    j2.cc:31: error: ‘scanf’ was not declared in this scope

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2008/J/solutions/j3.cpp'

Compilation Error
    j3.cc: In function ‘int main()’:
    j3.cc:43: error: ‘sort’ was not declared in this scope
    j3.cc:47: warning: comparison between signed and unsigned integer expressions
    j3.cc:52: warning: comparison between signed and unsigned integer expressions
    j3.cc:53: error: expected primary-expression before ‘?’ token
    j3.cc:53: error: expected primary-expression before ‘=’ token
    j3.cc:53: error: expected ‘:’ before ‘;’ token
    j3.cc:53: error: expected primary-expression before ‘;’ token

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2008/J/solutions/j4.cpp'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 132 ms of 20s 0 ms | 708 608 of 67 108 864 | 75 | AC | OK 29 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-22_17-18-15-214_ex/