# Problem I (NWERC-2007) [ Sun Dec 26 18:57:17 EET 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/NWERC-2007/I/solutions/I-alt.cpp | CE | 0 | n/a | n/a
2 | /home/alt/work/java/djudge/problems/NWERC-2007/I/solutions/i1.cpp | CE | 0 | n/a | n/a
3 | /home/alt/work/java/djudge/problems/NWERC-2007/I/solutions/i1.java | AC | 1 | 220 ms | 19 603 456
4 | /home/alt/work/java/djudge/problems/NWERC-2007/I/solutions/i2.cpp | AC | 1 | 36 ms | 581 632
5 | /home/alt/work/java/djudge/problems/NWERC-2007/I/solutions/i2.java | AC | 1 | 196 ms | 19 394 560
6 | /home/alt/work/java/djudge/problems/NWERC-2007/I/solutions/i3.cpp | CE | 0 | n/a | n/a
7 | /home/alt/work/java/djudge/problems/NWERC-2007/I/solutions/i4.cpp | AC | 1 | 4 ms | 581 632

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

Compilation Error
    I-alt.cc: In function ‘int ri()’:
    I-alt.cc:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    I-alt.cc: In function ‘void rs(char*)’:
    I-alt.cc:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    I-alt.cc: In function ‘int main()’:
    I-alt.cc:72: error: ‘memset’ was not declared in this scope

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

Compilation Error
    i1.cc: In function ‘int main()’:
    i1.cc:27: error: expected primary-expression before ‘?’ token
    i1.cc:27: error: expected primary-expression before ‘=’ token
    i1.cc:27: error: expected ‘:’ before ‘;’ token
    i1.cc:27: error: expected primary-expression before ‘;’ token
    i1.cc:35: error: ‘abs’ was not declared in this scope

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 220 ms of 2s 0 ms | 19 603 456 of 67 108 864 | 56 | AC | OK 13 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-26_18-57-12-975_ex/

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 36 ms of 2s 0 ms | 581 632 of 67 108 864 | 56 | AC | OK 13 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-26_18-57-14-378_ex/

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 196 ms of 2s 0 ms | 19 394 560 of 67 108 864 | 56 | AC | OK 13 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-26_18-57-15-555_ex/

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

Compilation Error
    i3.cc:22:25: error: tr1/hashtable: No such file or directory
    i3.cc: In function ‘int main()’:
    i3.cc:82: 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/I/solutions/i4.cpp'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 4 ms of 2s 0 ms | 581 632 of 67 108 864 | 56 | AC | OK 13 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-26_18-57-17-520_ex/