# Problem K (NWERC-2008) [ Fri Oct 22 17:18:23 EEST 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/NWERC-2008/K/solutions/erikjan.java | AC | 1 | 4s 616 ms | 31 141 888
2 | /home/alt/work/java/djudge/problems/NWERC-2008/K/solutions/k1.cpp | CE | 0 | n/a | n/a
3 | /home/alt/work/java/djudge/problems/NWERC-2008/K/solutions/k2.cpp | CE | 0 | n/a | n/a
4 | /home/alt/work/java/djudge/problems/NWERC-2008/K/solutions/k3.cpp | CE | 0 | n/a | n/a
5 | /home/alt/work/java/djudge/problems/NWERC-2008/K/solutions/k4.cpp | CE | 0 | n/a | n/a

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 4s 616 ms of 60s 0 ms | 31 141 888 of 67 108 864 | 700 | AC | OK 49 token(s) compared [Checker-Float [1.0E-6, abs: true, rel: true]] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-22_17-18-16-640_ex/

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

Compilation Error
    k1.cc: In function ‘int main()’:
    k1.cc:84: warning: comparison between signed and unsigned integer expressions
    k1.cc:91: error: expected primary-expression before ‘?’ token
    k1.cc:91: error: expected primary-expression before ‘=’ token
    k1.cc:91: error: expected ‘:’ before ‘;’ token
    k1.cc:91: error: expected primary-expression before ‘;’ token

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

Compilation Error
    k2.cc: In function ‘int val(int*)’:
    k2.cc:17: error: ‘memset’ was not declared in this scope
    k2.cc: In function ‘int rc()’:
    k2.cc:44: error: ‘scanf’ was not declared in this scope
    k2.cc: In function ‘void solve()’:
    k2.cc:53: error: ‘scanf’ was not declared in this scope
    k2.cc:54: error: ‘scanf’ was not declared in this scope
    k2.cc:60: error: expected primary-expression before ‘?’ token
    k2.cc:60: error: expected primary-expression before ‘=’ token
    k2.cc:60: error: expected ‘:’ before ‘;’ token
    k2.cc:60: error: expected primary-expression before ‘;’ token
    k2.cc:62: error: ‘printf’ was not declared in this scope
    k2.cc: In function ‘int main()’:
    k2.cc:68: error: ‘scanf’ was not declared in this scope

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

Compilation Error
    k3.cc: In function ‘int readRank()’:
    k3.cc:90: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    k3.cc: In function ‘int readSuit()’:
    k3.cc:91: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    k3.cc: In function ‘void run()’:
    k3.cc:105: warning: suggest explicit braces to avoid ambiguous ‘else’
    k3.cc:122: error: expected primary-expression before ‘?’ token
    k3.cc:122: error: expected primary-expression before ‘=’ token
    k3.cc:122: error: expected ‘:’ before ‘;’ token
    k3.cc:122: error: expected primary-expression before ‘;’ token
    k3.cc:96: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    k3.cc:97: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    k3.cc: In function ‘int main()’:
    k3.cc:129: error: ‘memset’ was not declared in this scope
    k3.cc:131: 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-2008/K/solutions/k4.cpp'

Compilation Error
    k4.cc: In function ‘int main()’:
    k4.cc:129: warning: comparison between signed and unsigned integer expressions
    k4.cc:133: warning: comparison between signed and unsigned integer expressions
    k4.cc:140: warning: comparison between signed and unsigned integer expressions
    k4.cc:143: error: expected primary-expression before ‘?’ token
    k4.cc:143: error: expected primary-expression before ‘=’ token
    k4.cc:143: error: expected ‘:’ before ‘;’ token
    k4.cc:143: error: expected primary-expression before ‘;’ token
    k4.cc:100: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    k4.cc:113: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    k4.cc:116: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    k4.cc:124: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result