# Problem E (NWERC-2008) [ Fri Oct 22 17:17:49 EEST 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/NWERC-2008/E/solutions/e1.cpp | CE | 0 | n/a | n/a
2 | /home/alt/work/java/djudge/problems/NWERC-2008/E/solutions/e2.cpp | CE | 0 | n/a | n/a
3 | /home/alt/work/java/djudge/problems/NWERC-2008/E/solutions/erikjan.java | AC | 1 | 4s 944 ms | 32 264 192

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2008/E/solutions/e1.cpp'

Compilation Error
    e1.cc: In function ‘int main()’:
    e1.cc:23: error: ‘abs’ was not declared in this scope
    e1.cc:34: error: ‘sort’ was not declared in this scope
    e1.cc:35: error: ‘unique’ was not declared in this scope
    e1.cc:38: error: ‘LONG_LONG_MAX’ was not declared in this scope
    e1.cc:49: error: expected primary-expression before ‘?’ token
    e1.cc:49: error: expected primary-expression before ‘=’ token
    e1.cc:49: error: ‘abs’ was not declared in this scope
    e1.cc:49: error: expected ‘:’ before ‘;’ token
    e1.cc:49: error: expected primary-expression before ‘;’ token

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2008/E/solutions/e2.cpp'

Compilation Error
    e2.cc: In function ‘ll Greedy(int, int, ll, ll)’:
    e2.cc:29: error: expected primary-expression before ‘?’ token
    e2.cc:29: error: expected primary-expression before ‘?’ token
    e2.cc:29: error: expected primary-expression before ‘?’ token
    e2.cc:29: error: expected primary-expression before ‘?’ token
    e2.cc:29: error: expected ‘:’ before ‘;’ token
    e2.cc:29: error: expected primary-expression before ‘;’ token
    e2.cc:29: error: expected ‘:’ before ‘;’ token
    e2.cc:29: error: expected primary-expression before ‘;’ token
    e2.cc:29: error: expected ‘:’ before ‘;’ token
    e2.cc:29: error: expected primary-expression before ‘;’ token
    e2.cc:29: error: expected ‘:’ before ‘;’ token
    e2.cc:29: error: expected primary-expression before ‘;’ token
    e2.cc:30: error: call of overloaded ‘abs(ll)’ is ambiguous
    /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double)
    /usr/include/c++/4.4/cmath:98: note:                 float std::abs(float)
    /usr/include/c++/4.4/cmath:102: note:                 long double std::abs(long double)
    e2.cc: In function ‘ll Best(int, ll)’:
    e2.cc:41: error: expected primary-expression before ‘?’ token
    e2.cc:41: error: expected primary-expression before ‘?’ token
    e2.cc:41: error: expected primary-expression before ‘?’ token
    e2.cc:41: error: expected primary-expression before ‘?’ token
    e2.cc:41: error: expected ‘:’ before ‘;’ token
    e2.cc:41: error: expected primary-expression before ‘;’ token
    e2.cc:41: error: expected ‘:’ before ‘;’ token
    e2.cc:41: error: expected primary-expression before ‘;’ token
    e2.cc:41: error: expected ‘:’ before ‘;’ token
    e2.cc:41: error: expected primary-expression before ‘;’ token
    e2.cc:41: error: expected ‘:’ before ‘;’ token
    e2.cc:41: error: expected primary-expression before ‘;’ token
    e2.cc:42: error: expected primary-expression before ‘?’ token
    e2.cc:42: error: expected primary-expression before ‘=’ token
    e2.cc:42: error: call of overloaded ‘abs(ll)’ is ambiguous
    /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double)
    /usr/include/c++/4.4/cmath:98: note:                 float std::abs(float)
    /usr/include/c++/4.4/cmath:102: note:                 long double std::abs(long double)
    e2.cc:42: error: expected ‘:’ before ‘;’ token
    e2.cc:42: error: expected primary-expression before ‘;’ token
    e2.cc: In function ‘void solve()’:
    e2.cc:49: error: ‘scanf’ was not declared in this scope
    e2.cc:51: error: call of overloaded ‘abs(ll)’ is ambiguous
    /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double)
    /usr/include/c++/4.4/cmath:98: note:                 float std::abs(float)
    /usr/include/c++/4.4/cmath:102: note:                 long double std::abs(long double)
    e2.cc:51: error: ‘printf’ was not declared in this scope
    e2.cc:52: error: ‘printf’ was not declared in this scope
    e2.cc: In function ‘int main()’:
    e2.cc:57: error: ‘scanf’ was not declared in this scope

### Results of testing '/home/alt/work/java/djudge/problems/NWERC-2008/E/solutions/erikjan.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 4s 944 ms of 20s 0 ms | 32 264 192 of 67 108 864 | 766 | AC | OK 78 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-22_17-17-44-125_ex/