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

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/NWERC-2007/H/solutions/H-alt.cpp | CE | 0 | n/a | n/a
2 | /home/alt/work/java/djudge/problems/NWERC-2007/H/solutions/h1.cpp | CE | 0 | n/a | n/a
3 | /home/alt/work/java/djudge/problems/NWERC-2007/H/solutions/h1.java | AC | 1 | 2s 320 ms | 32 940 32
4 | /home/alt/work/java/djudge/problems/NWERC-2007/H/solutions/h2.cpp | CE | 0 | n/a | n/a
5 | /home/alt/work/java/djudge/problems/NWERC-2007/H/solutions/h3.cpp | CE | 0 | n/a | n/a
6 | /home/alt/work/java/djudge/problems/NWERC-2007/H/solutions/h4.cpp | CE | 0 | n/a | n/a

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

Compilation Error
    H-alt.cc: In function ‘int ri()’:
    H-alt.cc:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    H-alt.cc: In function ‘void rs(char*)’:
    H-alt.cc:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    H-alt.cc: In function ‘int cmp(int, int)’:
    H-alt.cc:53: error: ‘memset’ was not declared in this scope
    H-alt.cc:56: warning: array subscript has type ‘char’
    H-alt.cc:61: warning: array subscript has type ‘char’
    H-alt.cc:62: warning: array subscript has type ‘char’
    H-alt.cc: In function ‘void solve()’:
    H-alt.cc:96: error: ‘memset’ was not declared in this scope
    H-alt.cc:97: error: ‘strlen’ was not declared in this scope
    H-alt.cc: In function ‘int main()’:
    H-alt.cc:126: error: ‘strlen’ was not declared in this scope

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

Compilation Error
    h1.cc: In function ‘std::string mix(std::string)’:
    h1.cc:17: error: ‘sort’ was not declared in this scope
    h1.cc: In function ‘int main()’:
    h1.cc:48: error: expected primary-expression before ‘?’ token
    h1.cc:48: error: expected primary-expression before ‘=’ token
    h1.cc:48: error: expected ‘:’ before ‘;’ token
    h1.cc:48: error: expected primary-expression before ‘;’ token

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 2s 320 ms of 20s 0 ms | 32 940 32 of 67 108 864 | 8 483 | AC | OK 16 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-26_18-57-06-161_ex/

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

Compilation Error
    h2.cc: In function ‘int main()’:
    h2.cc:24: error: ‘strlen’ was not declared in this scope
    h2.cc:29: warning: name lookup of ‘strlen’ changed
    :0: warning:   matches this ‘unsigned int strlen(const char*)’ under ISO standard rules
    h2.cc:24: warning:   matches this ‘strlen’ under old rules
    h2.cc:29: error: ‘strlen’ was not declared in this scope
    h2.cc:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    h2.cc:19: 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/H/solutions/h3.cpp'

Compilation Error
    h3.cc: In function ‘int possible(int, Word)’:
    h3.cc:40: error: ‘sort’ was not declared in this scope
    h3.cc: In function ‘int main()’:
    h3.cc:73: error: ‘sort’ was not declared in this scope
    h3.cc:85: warning: comparison between signed and unsigned integer expressions
    h3.cc:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    h3.cc:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    h3.cc:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
    h3.cc:61: 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/H/solutions/h4.cpp'

Compilation Error
    h4.cc:22:25: error: tr1/hashtable: No such file or directory
    h4.cc: In function ‘int main()’:
    h4.cc:111: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result