# Problem B (TUD-2008) [ Thu Oct 21 16:36:22 EEST 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/TUD-2008/B/solutions/B-alt-exhaustive-search.cpp | AC | 1 | 96 ms | 524 288
2 | /home/alt/work/java/djudge/problems/TUD-2008/B/solutions/Solution.java | AC | 1 | 184 ms | 17 317 888
3 | /home/alt/work/java/djudge/problems/TUD-2008/B/solutions/shopping.cpp | CE | 0 | n/a | n/a

### Results of testing '/home/alt/work/java/djudge/problems/TUD-2008/B/solutions/B-alt-exhaustive-search.cpp'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 96 ms of 1000 ms | 524 288 of 67 108 864 | 2 974 | AC | OK 102 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_16-36-20-186_ex/

### Results of testing '/home/alt/work/java/djudge/problems/TUD-2008/B/solutions/Solution.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 184 ms of 1000 ms | 17 317 888 of 67 108 864 | 2 974 | AC | OK 102 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_16-36-21-461_ex/

### Results of testing '/home/alt/work/java/djudge/problems/TUD-2008/B/solutions/shopping.cpp'

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