# Problem C (ECNA-2002) [ Thu Oct 21 17:36:08 EEST 2010]

# | File | Judgement | Score | MaxTime | MaxMemory | TotalTime
--- | --- | --- | --- | --- | --- | ---
1 | /home/alt/work/java/djudge/problems/ECNA-2002/C/solutions/JC.java | AC | 1 | 808 ms | 14 848 0
2 | /home/alt/work/java/djudge/problems/ECNA-2002/C/solutions/c.c | AC | 1 | 1s 492 ms | 520 192
3 | /home/alt/work/java/djudge/problems/ECNA-2002/C/solutions/john.cpp | CE | 0 | n/a | n/a
4 | /home/alt/work/java/djudge/problems/ECNA-2002/C/solutions/todd.cpp | CE | 0 | n/a | n/a

### Results of testing '/home/alt/work/java/djudge/problems/ECNA-2002/C/solutions/JC.java'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 808 ms of 4s 0 ms | 14 848 0 of 67 108 864 | 29 730 | AC | OK 568 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_17-36-05-018_ex/

### Results of testing '/home/alt/work/java/djudge/problems/ECNA-2002/C/solutions/c.c'

Test | Score | Time | Memory | OutputSize | Judgement | Validator | IO
--- | --- | --- | --- | --- | --- | --- | ---
1 | 1 | 1s 492 ms of 4s 0 ms | 520 192 of 67 108 864 | 29 730 | AC | OK 568 token(s) compared [Checker-String] | 01.in - 01.out - /home/alt/work/java/djudge/work/2010-10-21_17-36-06-509_ex/

### Results of testing '/home/alt/work/java/djudge/problems/ECNA-2002/C/solutions/john.cpp'

Compilation Error
    john.cc:1:22: error: iostream.h: No such file or directory
    john.cc: In function ‘void findseries(int, int*, int, int, bool*)’:
    john.cc:63: warning: unused variable ‘temp’
    john.cc: In function ‘int main()’:
    john.cc:95: error: ‘cin’ was not declared in this scope
    john.cc:112: error: ‘cout’ was not declared in this scope
    john.cc:120: error: ‘cout’ was not declared in this scope
    john.cc:120: error: ‘endl’ was not declared in this scope

### Results of testing '/home/alt/work/java/djudge/problems/ECNA-2002/C/solutions/todd.cpp'

Compilation Error
    todd.cc:5:22: error: iostream.h: No such file or directory
    todd.cc: In function ‘void PrintSeq()’:
    todd.cc:51: error: ‘cout’ was not declared in this scope
    todd.cc:55: error: ‘cout’ was not declared in this scope
    todd.cc:55: error: ‘endl’ was not declared in this scope
    todd.cc:49: warning: unused variable ‘first’
    todd.cc: In function ‘int FirstWord(int, int, char*, int)’:
    todd.cc:60: warning: unused variable ‘newfinish’
    todd.cc:60: warning: unused variable ‘length’
    todd.cc: In function ‘int BiggerSeq(int*, int*)’:
    todd.cc:84: warning: unused variable ‘i’
    todd.cc: In function ‘int main()’:
    todd.cc:132: error: ‘cin’ was not declared in this scope
    todd.cc:150: warning: deprecated conversion from string constant to ‘char*’