# Problem B (NCPC-2006) [ Thu Oct 21 19:17:36 EEST 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/NCPC-2006/B/solutions/B-alt.cpp | TLE | 0 | 2s 904 ms | 524 288
2 | /home/alt/work/java/djudge/problems/NCPC-2006/B/solutions/tourguide_jm.cc | CE | 0 | n/a | n/a
3 | /home/alt/work/java/djudge/problems/NCPC-2006/B/solutions/tourguide_ng.java | AC | 1 | 960 ms | 12 640 256
4 | /home/alt/work/java/djudge/problems/NCPC-2006/B/solutions/tourguide_pa.cc | CE | 0 | n/a | n/a
5 | /home/alt/work/java/djudge/problems/NCPC-2006/B/solutions/tourguide_tab.java | AC | 1 | 516 ms | 12 943 360

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 0 | 2s 904 ms of 2s 0 ms | 524 288 of 67 108 864 | 0 | TLE |  | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_19-17-22-851_ex/

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

Compilation Error
    tourguide_jm.cc: In function ‘int main()’:
    tourguide_jm.cc:53: error: ‘next_permutation’ was not declared in this scope

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 960 ms of 2s 0 ms | 12 640 256 of 67 108 864 | 411 | AC | OK 166 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_19-17-30-386_ex/

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

Compilation Error
    tourguide_pa.cc: In function ‘int main()’:
    tourguide_pa.cc:16: error: expected primary-expression before ‘?’ token
    tourguide_pa.cc:16: error: expected primary-expression before ‘=’ token
    tourguide_pa.cc:16: error: expected ‘:’ before ‘)’ token
    tourguide_pa.cc:16: error: expected primary-expression before ‘)’ token
    tourguide_pa.cc:22: error: expected primary-expression before ‘?’ token
    tourguide_pa.cc:22: error: expected primary-expression before ‘=’ token
    tourguide_pa.cc:22: error: expected ‘:’ before ‘)’ token
    tourguide_pa.cc:22: error: expected primary-expression before ‘)’ token
    tourguide_pa.cc:15: 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/B/solutions/tourguide_tab.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 516 ms of 2s 0 ms | 12 943 360 of 67 108 864 | 411 | AC | OK 166 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_19-17-36-089_ex/