Borderou de evaluare (job #1212778)

Utilizator tudi98Cozma Tudor tudi98 Data 25 iulie 2014 22:03:01
Problema Compresie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 9

Raport evaluator

Compilare: user.cpp: In function ‘void solve(int, int, int, int)’: user.cpp:20:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(curr >= strlen(c)) return; ^ user.cpp: In function ‘int main()’: user.cpp:61:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(c);i++){ ^ user.cpp:56:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("compresie.in","r",stdin); ^ user.cpp:57:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("compresie.out","w",stdout); ^ user.cpp:60:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(c); ^ /tmp/ccgOKYEP.o: In function `main': user.cpp:(.text.startup+0x5b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbValoare incorecta cerinta 2 !1
20ms296kbValoare incorecta cerinta 2 !1
30ms384kbValoare incorecta cerinta 2 !1
48ms432kbValoare incorecta cerinta 2 !1
524ms580kbValoare incorecta cerinta 2 !1
6Depăşit692kbTime limit exceeded.0
776ms708kbValoare incorecta cerinta 2 !1
8148ms840kbValoare incorecta cerinta 2 !1
9Depăşit1468kbTime limit exceeded.0
10Depăşit1668kbTime limit exceeded.0
11Depăşit956kbTime limit exceeded.0
12Depăşit736kbTime limit exceeded.0
13Depăşit1228kbTime limit exceeded.0
14Depăşit1132kbTime limit exceeded.0
15Depăşit1120kbTime limit exceeded.0
16Depăşit1224kbTime limit exceeded.0
17Depăşit1240kbTime limit exceeded.0
18Depăşit988kbTime limit exceeded.0
19152ms960kbValoare incorecta cerinta 2 !1
2016ms524kbValoare incorecta cerinta 2 !1
Punctaj total9

Ceva nu functioneaza?