# Problem D (NWERC-2006) [ Fri Oct 22 16:22:38 EEST 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/NWERC-2006/D/solutions/ticket_jk.cc | CE | 0 | n/a | n/a
2 | /home/alt/work/java/djudge/problems/NWERC-2006/D/solutions/ticket_jm.cc | CE | 0 | n/a | n/a
3 | /home/alt/work/java/djudge/problems/NWERC-2006/D/solutions/ticket_mg.java | AC | 1 | 4s 48 ms | 31 31 296
4 | /home/alt/work/java/djudge/problems/NWERC-2006/D/solutions/ticket_pa.cc | CE | 0 | n/a | n/a

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2006/D/solutions/ticket_jk.cc'

Compilation Error
    ticket_jk.cc: In function ‘int solve()’:
    ticket_jk.cc:66: error: ‘INT_MAX’ was not declared in this scope
    ticket_jk.cc:84: warning: comparison between signed and unsigned integer expressions
    ticket_jk.cc:91: error: expected primary-expression before ‘?’ token
    ticket_jk.cc:91: error: expected primary-expression before ‘=’ token
    ticket_jk.cc:91: error: expected ‘:’ before ‘;’ token
    ticket_jk.cc:91: error: expected primary-expression before ‘;’ token
    ticket_jk.cc:93: error: expected primary-expression before ‘?’ token
    ticket_jk.cc:93: error: expected primary-expression before ‘=’ token
    ticket_jk.cc:93: error: expected ‘:’ before ‘;’ token
    ticket_jk.cc:93: error: expected primary-expression before ‘;’ token
    ticket_jk.cc:114: error: expected primary-expression before ‘?’ token
    ticket_jk.cc:114: error: expected primary-expression before ‘=’ token
    ticket_jk.cc:114: error: expected ‘:’ before ‘;’ token
    ticket_jk.cc:114: error: expected primary-expression before ‘;’ token
    ticket_jk.cc:117: error: expected primary-expression before ‘?’ token
    ticket_jk.cc:117: error: expected primary-expression before ‘=’ token
    ticket_jk.cc:117: error: expected ‘:’ before ‘;’ token
    ticket_jk.cc:117: error: expected primary-expression before ‘;’ token

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2006/D/solutions/ticket_jm.cc'

Compilation Error
    ticket_jm.cc: In function ‘int main()’:
    ticket_jm.cc:21: error: expected primary-expression before ‘?’ token
    ticket_jm.cc:21: error: expected primary-expression before ‘=’ token
    ticket_jm.cc:21: error: expected ‘:’ before ‘)’ token
    ticket_jm.cc:21: error: expected primary-expression before ‘)’ token
    ticket_jm.cc:25: error: expected primary-expression before ‘?’ token
    ticket_jm.cc:25: error: expected primary-expression before ‘=’ token
    ticket_jm.cc:25: error: expected ‘:’ before ‘;’ token
    ticket_jm.cc:25: error: expected primary-expression before ‘;’ token
    ticket_jm.cc:40: error: expected primary-expression before ‘?’ token
    ticket_jm.cc:40: error: expected primary-expression before ‘=’ token
    ticket_jm.cc:40: error: expected ‘:’ before ‘;’ token
    ticket_jm.cc:40: error: expected primary-expression before ‘;’ token
    ticket_jm.cc:47: error: expected primary-expression before ‘?’ token
    ticket_jm.cc:47: error: expected primary-expression before ‘=’ token
    ticket_jm.cc:47: error: expected ‘:’ before ‘;’ token
    ticket_jm.cc:47: error: expected primary-expression before ‘;’ token
    ticket_jm.cc:51: error: expected primary-expression before ‘?’ token
    ticket_jm.cc:51: error: expected primary-expression before ‘=’ token
    ticket_jm.cc:51: error: expected ‘:’ before ‘)’ token
    ticket_jm.cc:51: error: expected primary-expression before ‘)’ token

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2006/D/solutions/ticket_mg.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 4s 48 ms of 10s 0 ms | 31 31 296 of 67 108 864 | 109 | AC | OK 20 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-22_16-22-32-954_ex/

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2006/D/solutions/ticket_pa.cc'

Compilation Error
    ticket_pa.cc: In function ‘int mst(int)’:
    ticket_pa.cc:43: error: expected primary-expression before ‘?’ token
    ticket_pa.cc:43: error: expected primary-expression before ‘=’ token
    ticket_pa.cc:43: error: expected ‘:’ before ‘;’ token
    ticket_pa.cc:43: error: expected primary-expression before ‘;’ token
    ticket_pa.cc: In function ‘int steinertree(int, int, int*)’:
    ticket_pa.cc:55: error: expected primary-expression before ‘?’ token
    ticket_pa.cc:55: error: expected primary-expression before ‘=’ token
    ticket_pa.cc:55: error: expected ‘:’ before ‘;’ token
    ticket_pa.cc:55: error: expected primary-expression before ‘;’ token
    ticket_pa.cc: In function ‘int steinerforest(int)’:
    ticket_pa.cc:72: error: ‘memset’ was not declared in this scope
    ticket_pa.cc:81: error: expected primary-expression before ‘?’ token
    ticket_pa.cc:81: error: expected primary-expression before ‘=’ token
    ticket_pa.cc:81: error: expected ‘:’ before ‘;’ token
    ticket_pa.cc:81: error: expected primary-expression before ‘;’ token
    ticket_pa.cc: In function ‘int main()’:
    ticket_pa.cc:92: error: ‘memset’ was not declared in this scope
    ticket_pa.cc:102: error: expected primary-expression before ‘?’ token
    ticket_pa.cc:102: error: expected primary-expression before ‘=’ token
    ticket_pa.cc:102: error: expected ‘:’ before ‘;’ token
    ticket_pa.cc:102: error: expected primary-expression before ‘;’ token
    ticket_pa.cc:103: error: expected primary-expression before ‘?’ token
    ticket_pa.cc:103: error: expected primary-expression before ‘=’ token
    ticket_pa.cc:103: error: expected ‘:’ before ‘;’ token
    ticket_pa.cc:103: error: expected primary-expression before ‘;’ token
    ticket_pa.cc:108: error: expected primary-expression before ‘?’ token
    ticket_pa.cc:108: error: expected primary-expression before ‘=’ token
    ticket_pa.cc:108: error: expected ‘:’ before ‘;’ token
    ticket_pa.cc:108: error: expected primary-expression before ‘;’ token
    ticket_pa.cc:94: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    ticket_pa.cc:100: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    ticket_pa.cc:110: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result