# Problem E (NEERC-2006) [ Thu Dec 30 19:39:49 EET 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/NEERC-2006/E/solutions/exchange.cpp | CE | 0 | n/a | n/a
2 | /home/alt/work/java/djudge/problems/NEERC-2006/E/solutions/exchange_re.java | AC | 30 | 1s 40 ms | 28 631 40

### Results of testing '/home/alt/work/java/djudge/problems/NEERC-2006/E/solutions/exchange.cpp'

Compilation Error
    exchange.cc: In function ‘void trade(Order&, std::map, PR, std::allocator > > >&, std::map, OTHER, std::allocator > > >&)’:
    exchange.cc:47: error: expected ‘;’ before ‘obegin’
    exchange.cc:48: error: ‘obegin’ was not declared in this scope
    exchange.cc:50: error: ‘obegin’ was not declared in this scope
    exchange.cc: In function ‘void qitem(std::map, PR, std::allocator > > >&, int)’:
    exchange.cc:84: error: expected ‘;’ before ‘begin’
    exchange.cc:85: error: ‘begin’ was not declared in this scope
    exchange.cc: In function ‘void qitem(std::map, PR, std::allocator > > >&, int) [with PR = std::greater]’:
    exchange.cc:96:   instantiated from here
    exchange.cc:84: error: dependent-name ‘std::map::iterator’ is parsed as a non-type, but instantiation yields a type
    exchange.cc:84: note: say ‘typename std::map::iterator’ if a type is meant
    exchange.cc: In function ‘void qitem(std::map, PR, std::allocator > > >&, int) [with PR = std::less]’:
    exchange.cc:98:   instantiated from here
    exchange.cc:84: error: dependent-name ‘std::map::iterator’ is parsed as a non-type, but instantiation yields a type
    exchange.cc:84: note: say ‘typename std::map::iterator’ if a type is meant
    exchange.cc: In function ‘void trade(Order&, std::map, PR, std::allocator > > >&, std::map, OTHER, std::allocator > > >&) [with MY = std::greater, OTHER = std::less]’:
    exchange.cc:117:   instantiated from here
    exchange.cc:47: error: dependent-name ‘std::map::iterator’ is parsed as a non-type, but instantiation yields a type
    exchange.cc:47: note: say ‘typename std::map::iterator’ if a type is meant
    exchange.cc: In function ‘void trade(Order&, std::map, PR, std::allocator > > >&, std::map, OTHER, std::allocator > > >&) [with MY = std::less, OTHER = std::greater]’:
    exchange.cc:119:   instantiated from here
    exchange.cc:47: error: dependent-name ‘std::map::iterator’ is parsed as a non-type, but instantiation yields a type
    exchange.cc:47: note: say ‘typename std::map::iterator’ if a type is meant

### Results of testing '/home/alt/work/java/djudge/problems/NEERC-2006/E/solutions/exchange_re.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 84 ms of 2s 0 ms | 12 353 536 of 67 108 864 | 278 | AC | OK 14 token(s) compared [Checker-String] | 01 - 01.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-23-019_ex/
2 | 1 | 80 ms of 2s 0 ms | 12 341 248 of 67 108 864 | 96 | AC | OK 6 token(s) compared [Checker-String] | 02 - 02.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-23-279_ex/
3 | 1 | 92 ms of 2s 0 ms | 12 345 344 of 67 108 864 | 136 | AC | OK 6 token(s) compared [Checker-String] | 03 - 03.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-23-533_ex/
4 | 1 | 664 ms of 2s 0 ms | 25 276 416 of 67 108 864 | 277 768 | AC | OK 10000 token(s) compared [Checker-String] | 04 - 04.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-23-814_ex/
5 | 1 | 656 ms of 2s 0 ms | 25 214 976 of 67 108 864 | 237 741 | AC | OK 10000 token(s) compared [Checker-String] | 05 - 05.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-24-637_ex/
6 | 1 | 644 ms of 2s 0 ms | 25 6 80 of 67 108 864 | 318 889 | AC | OK 10000 token(s) compared [Checker-String] | 06 - 06.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-25-436_ex/
7 | 1 | 632 ms of 2s 0 ms | 24 920 64 of 67 108 864 | 278 889 | AC | OK 10000 token(s) compared [Checker-String] | 07 - 07.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-26-256_ex/
8 | 1 | 824 ms of 2s 0 ms | 28 631 40 of 67 108 864 | 466 704 | AC | OK 19897 token(s) compared [Checker-String] | 08 - 08.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-27-100_ex/
9 | 1 | 828 ms of 2s 0 ms | 28 573 696 of 67 108 864 | 449 653 | AC | OK 19866 token(s) compared [Checker-String] | 09 - 09.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-28-092_ex/
10 | 1 | 796 ms of 2s 0 ms | 27 553 792 of 67 108 864 | 372 313 | AC | OK 19974 token(s) compared [Checker-String] | 10 - 10.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-29-074_ex/
11 | 1 | 804 ms of 2s 0 ms | 28 483 584 of 67 108 864 | 489 856 | AC | OK 19904 token(s) compared [Checker-String] | 11 - 11.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-30-015_ex/
12 | 1 | 816 ms of 2s 0 ms | 24 215 552 of 67 108 864 | 278 863 | AC | OK 10000 token(s) compared [Checker-String] | 12 - 12.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-30-979_ex/
13 | 1 | 664 ms of 2s 0 ms | 24 215 552 of 67 108 864 | 278 867 | AC | OK 10000 token(s) compared [Checker-String] | 13 - 13.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-32-193_ex/
14 | 1 | 656 ms of 2s 0 ms | 24 18 944 of 67 108 864 | 218 897 | AC | OK 10000 token(s) compared [Checker-String] | 14 - 14.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-33-014_ex/
15 | 1 | 648 ms of 2s 0 ms | 24 23 40 of 67 108 864 | 223 897 | AC | OK 10000 token(s) compared [Checker-String] | 15 - 15.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-33-828_ex/
16 | 1 | 628 ms of 2s 0 ms | 24 113 152 of 67 108 864 | 275 573 | AC | OK 10000 token(s) compared [Checker-String] | 16 - 16.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-34-649_ex/
17 | 1 | 632 ms of 2s 0 ms | 24 190 976 of 67 108 864 | 315 553 | AC | OK 10000 token(s) compared [Checker-String] | 17 - 17.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-35-427_ex/
18 | 1 | 628 ms of 2s 0 ms | 24 113 152 of 67 108 864 | 275 554 | AC | OK 10000 token(s) compared [Checker-String] | 18 - 18.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-36-204_ex/
19 | 1 | 780 ms of 2s 0 ms | 24 195 72 of 67 108 864 | 315 546 | AC | OK 10000 token(s) compared [Checker-String] | 19 - 19.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-37-639_ex/
20 | 1 | 1s 40 ms of 2s 0 ms | 26 759 168 of 67 108 864 | 417 899 | AC | OK 15772 token(s) compared [Checker-String] | 20 - 20.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-38-709_ex/
21 | 1 | 724 ms of 2s 0 ms | 25 403 392 of 67 108 864 | 363 668 | AC | OK 12542 token(s) compared [Checker-String] | 21 - 21.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-40-246_ex/
22 | 1 | 768 ms of 2s 0 ms | 25 894 912 of 67 108 864 | 330 817 | AC | OK 13465 token(s) compared [Checker-String] | 22 - 22.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-41-156_ex/
23 | 1 | 764 ms of 2s 0 ms | 26 808 320 of 67 108 864 | 420 206 | AC | OK 15898 token(s) compared [Checker-String] | 23 - 23.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-42-147_ex/
24 | 1 | 760 ms of 2s 0 ms | 26 750 976 of 67 108 864 | 417 514 | AC | OK 15736 token(s) compared [Checker-String] | 24 - 24.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-43-097_ex/
25 | 1 | 764 ms of 2s 0 ms | 26 841 88 of 67 108 864 | 421 596 | AC | OK 15980 token(s) compared [Checker-String] | 25 - 25.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-44-043_ex/
26 | 1 | 768 ms of 2s 0 ms | 26 820 608 of 67 108 864 | 419 568 | AC | OK 15856 token(s) compared [Checker-String] | 26 - 26.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-44-980_ex/
27 | 1 | 756 ms of 2s 0 ms | 26 783 744 of 67 108 864 | 419 633 | AC | OK 15856 token(s) compared [Checker-String] | 27 - 27.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-45-903_ex/
28 | 1 | 760 ms of 2s 0 ms | 26 783 744 of 67 108 864 | 419 802 | AC | OK 15835 token(s) compared [Checker-String] | 28 - 28.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-46-832_ex/
29 | 1 | 740 ms of 2s 0 ms | 26 783 744 of 67 108 864 | 419 239 | AC | OK 15835 token(s) compared [Checker-String] | 29 - 29.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-47-760_ex/
30 | 1 | 768 ms of 2s 0 ms | 26 824 704 of 67 108 864 | 420 372 | AC | OK 15887 token(s) compared [Checker-String] | 30 - 30.a - /home/alt/work/java/djudge/work/2010-12-30_19-39-48-683_ex/