# Problem C (NWERC-2007) [ Sun Dec 26 18:56:00 EET 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/NWERC-2007/C/solutions/c1.cpp | CE | 0 | n/a | n/a
2 | /home/alt/work/java/djudge/problems/NWERC-2007/C/solutions/c1.java | AC | 1 | 380 ms | 30 68 736
3 | /home/alt/work/java/djudge/problems/NWERC-2007/C/solutions/c2.cpp | CE | 0 | n/a | n/a
4 | /home/alt/work/java/djudge/problems/NWERC-2007/C/solutions/c2.java | AC | 1 | 392 ms | 30 887 936
5 | /home/alt/work/java/djudge/problems/NWERC-2007/C/solutions/c3.cpp | AC | 1 | 120 ms | 585 728

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

Compilation Error
    c1.cc: In function ‘int main()’:
    c1.cc:28: error: expected primary-expression before ‘?’ token
    c1.cc:28: error: expected ‘:’ before ‘;’ token
    c1.cc:28: error: expected primary-expression before ‘;’ token
    c1.cc:31: 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)
    c1.cc:31: 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)

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 380 ms of 2s 0 ms | 30 68 736 of 67 108 864 | 454 | AC | OK 20 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-26_18-55-57-607_ex/

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

Compilation Error
    c2.cc: In function ‘int main()’:
    c2.cc:31: error: call of overloaded ‘abs(long long int)’ 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)
    c2.cc:31: error: call of overloaded ‘abs(long long int)’ 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)
    c2.cc:37: error: call of overloaded ‘abs(long long int)’ 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)
    c2.cc:37: error: call of overloaded ‘abs(long long int)’ 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)

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 392 ms of 2s 0 ms | 30 887 936 of 67 108 864 | 454 | AC | OK 20 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-26_18-55-59-699_ex/

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 120 ms of 2s 0 ms | 585 728 of 67 108 864 | 454 | AC | OK 20 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-26_18-56-00-665_ex/