# Problem A (NWERC-2007) [ Sun Dec 26 18:54:42 EET 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/NWERC-2007/A/solutions/A-alt.cpp | AC | 1 | 232 ms | 581 632
2 | /home/alt/work/java/djudge/problems/NWERC-2007/A/solutions/a1.cpp | AC | 1 | 836 ms | 581 632
3 | /home/alt/work/java/djudge/problems/NWERC-2007/A/solutions/a1.java | AC | 1 | 4s 196 ms | 31 219 712
4 | /home/alt/work/java/djudge/problems/NWERC-2007/A/solutions/a2.cpp | CE | 0 | n/a | n/a
5 | /home/alt/work/java/djudge/problems/NWERC-2007/A/solutions/a3.cpp | AC | 1 | 836 ms | 581 632
6 | /home/alt/work/java/djudge/problems/NWERC-2007/A/solutions/a4.cpp | CE | 0 | n/a | n/a

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 232 ms of 20s 0 ms | 581 632 of 67 108 864 | 804 | AC | OK 100 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-26_18-54-30-295_ex/

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2007/A/solutions/a1.cpp'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 836 ms of 20s 0 ms | 581 632 of 67 108 864 | 804 | AC | OK 100 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-26_18-54-32-591_ex/

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2007/A/solutions/a1.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 4s 196 ms of 20s 0 ms | 31 219 712 of 67 108 864 | 804 | AC | OK 100 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-26_18-54-34-713_ex/

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2007/A/solutions/a2.cpp'

Compilation Error
    a2.cc: In function ‘void run()’:
    a2.cc:44: error: ‘sort’ was not declared in this scope
    a2.cc:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    a2.cc:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    a2.cc: In function ‘int main()’:
    a2.cc:84: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2007/A/solutions/a3.cpp'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 836 ms of 20s 0 ms | 581 632 of 67 108 864 | 804 | AC | OK 100 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-26_18-54-41-160_ex/

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2007/A/solutions/a4.cpp'

Compilation Error
    a4.cc: In function ‘int main()’:
    a4.cc:15: error: ‘scanf’ was not declared in this scope
    a4.cc:15: error: ‘printf’ was not declared in this scope
    a4.cc:20: warning: comparison between signed and unsigned integer expressions
    a4.cc:21: error: expected primary-expression before ‘?’ token
    a4.cc:21: error: expected primary-expression before ‘=’ token
    a4.cc:21: error: expected ‘:’ before ‘;’ token
    a4.cc:21: error: expected primary-expression before ‘;’ token