# Problem S (CERC-2007) [ Sun Dec 26 21:27:55 EET 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/CERC-2007/S/solutions/S.cpp | AC | 1 | 468 ms | 3 923 968
2 | /home/alt/work/java/djudge/problems/CERC-2007/S/solutions/sort-slow1.c | CE | 0 | n/a | n/a
3 | /home/alt/work/java/djudge/problems/CERC-2007/S/solutions/sort-slow2.c | CE | 0 | n/a | n/a
4 | /home/alt/work/java/djudge/problems/CERC-2007/S/solutions/sort-slow3.c | CE | 0 | n/a | n/a
5 | /home/alt/work/java/djudge/problems/CERC-2007/S/solutions/sort.java | TLE | 0 | 3s 24 ms | 57 315 328

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

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 468 ms of 2s 0 ms | 3 923 968 of 67 108 864 | 999 182 | AC | OK 124 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-26_21-27-48-919_ex/

### Results of testing '/home/alt/work/java/djudge/problems/CERC-2007/S/solutions/sort-slow1.c'

Compilation Error
    sort-slow1.cc: In function ‘int main()’:
    sort-slow1.cc:39: error: invalid conversion from ‘int (*)(const int*, const int*)’ to ‘int (*)(const void*, const void*)’
    sort-slow1.cc:39: error:   initializing argument 4 of ‘void qsort(void*, size_t, size_t, int (*)(const void*, const void*))’
    sort-slow1.cc:31: warning: unused variable ‘w’
    sort-slow1.cc:29: warning: unused variable ‘j’
    sort-slow1.cc:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

### Results of testing '/home/alt/work/java/djudge/problems/CERC-2007/S/solutions/sort-slow2.c'

Compilation Error
    sort-slow2.cc: In function ‘int main()’:
    sort-slow2.cc:39: error: invalid conversion from ‘int (*)(const int*, const int*)’ to ‘int (*)(const void*, const void*)’
    sort-slow2.cc:39: error:   initializing argument 4 of ‘void qsort(void*, size_t, size_t, int (*)(const void*, const void*))’
    sort-slow2.cc:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

### Results of testing '/home/alt/work/java/djudge/problems/CERC-2007/S/solutions/sort-slow3.c'

Compilation Error
    sort-slow3.cc: In function ‘int main()’:
    sort-slow3.cc:43: error: invalid conversion from ‘int (*)(const int*, const int*)’ to ‘int (*)(const void*, const void*)’
    sort-slow3.cc:43: error:   initializing argument 4 of ‘void qsort(void*, size_t, size_t, int (*)(const void*, const void*))’
    sort-slow3.cc:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

### Results of testing '/home/alt/work/java/djudge/problems/CERC-2007/S/solutions/sort.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 0 | 3s 24 ms of 2s 0 ms | 57 315 328 of 67 108 864 | 758 943 | TLE |  | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-12-26_21-27-52-034_ex/