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

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/NWERC-2007/F/solutions/f1.cpp | CE | 0 | n/a | n/a
2 | /home/alt/work/java/djudge/problems/NWERC-2007/F/solutions/f1.java | AC | 1 | 1s 4 ms | 31 707 136
3 | /home/alt/work/java/djudge/problems/NWERC-2007/F/solutions/f2.cpp | CE | 0 | n/a | n/a

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

Compilation Error
    f1.cc: In function ‘void read()’:
    f1.cc:57: error: ‘reverse’ was not declared in this scope
    f1.cc: In function ‘std::vector, std::allocator > > intervalspolygon(point, point, std::vector >)’:
    f1.cc:67: warning: comparison between signed and unsigned integer expressions
    f1.cc:70: warning: suggest parentheses around arithmetic in operand of ‘^’
    f1.cc:72: warning: suggest parentheses around arithmetic in operand of ‘^’
    f1.cc:72: warning: suggest parentheses around arithmetic in operand of ‘^’
    f1.cc:73: warning: suggest parentheses around arithmetic in operand of ‘^’
    f1.cc:73: warning: suggest parentheses around arithmetic in operand of ‘^’
    f1.cc:80: error: ‘sort’ was not declared in this scope
    f1.cc:83: warning: comparison between signed and unsigned integer expressions
    f1.cc:88: warning: comparison between signed and unsigned integer expressions
    f1.cc:89: warning: suggest parentheses around arithmetic in operand of ‘^’
    f1.cc:89: warning: suggest parentheses around arithmetic in operand of ‘^’
    f1.cc:90: warning: suggest parentheses around arithmetic in operand of ‘^’
    f1.cc:90: warning: suggest parentheses around arithmetic in operand of ‘^’
    f1.cc: In function ‘void solve()’:
    f1.cc:134: warning: comparison between signed and unsigned integer expressions
    f1.cc:153: error: ‘sort’ was not declared in this scope
    f1.cc:157: warning: comparison between signed and unsigned integer expressions
    f1.cc:159: error: expected primary-expression before ‘?’ token
    f1.cc:159: error: expected primary-expression before ‘=’ token
    f1.cc:159: error: expected ‘:’ before ‘;’ token
    f1.cc:159: error: expected primary-expression before ‘;’ token

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 1s 4 ms of 60s 0 ms | 31 707 136 of 67 108 864 | 319 | AC | OK 17 token(s) compared [Checker-Float [0.0010, abs: true, rel: true]] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-26_18-56-43-718_ex/

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

Compilation Error
    f2.cc: In function ‘bool has_distance(double)’:
    f2.cc:212: error: expected primary-expression before ‘?’ token
    f2.cc:212: error: expected primary-expression before ‘=’ token
    f2.cc:212: error: expected ‘:’ before ‘;’ token
    f2.cc:212: error: expected primary-expression before ‘;’ token
    f2.cc: In function ‘bool solve(int)’:
    f2.cc:221: warning: unused variable ‘M’
    f2.cc:235: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    f2.cc:246: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    f2.cc:250: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    f2.cc: In function ‘int main()’:
    f2.cc:280: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result