Borderou de evaluare (job #1477886)

Utilizator SilviuIIon Silviu SilviuI Data 27 august 2015 12:22:43
Problema Ghicit Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int lcp(char*, char*)’: user.cpp:17:45: warning: value computed is not used [-Wunused-value] while (*a && *b && *a==*b) sol++,*a++,*b++; ^ user.cpp:17:47: warning: value computed is not used [-Wunused-value] while (*a && *b && *a==*b) sol++,*a++,*b++; ^ user.cpp: In function ‘int main()’: user.cpp:28:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",sol); ^ user.cpp:21:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ghicit.in","r",stdin); ^ user.cpp:22:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ghicit.out","w",stdout); ^ user.cpp:23:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); n=strlen(s+1); ^ /tmp/cc23q94w.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbOK5
2Depăşit232kbTime limit exceeded.0
3Depăşit240kbTime limit exceeded.0
412ms388kbOK5
5Depăşit404kbTime limit exceeded.0
6Depăşit404kbTime limit exceeded.0
7Depăşit400kbTime limit exceeded.0
8Depăşit400kbTime limit exceeded.0
9Depăşit448kbTime limit exceeded.0
10Depăşit448kbTime limit exceeded.0
11Depăşit452kbTime limit exceeded.0
120ms236kbOK5
130ms244kbOK5
140ms248kbOK5
150ms244kbOK5
16Depăşit252kbTime limit exceeded.0
17Depăşit256kbTime limit exceeded.0
18Depăşit232kbTime limit exceeded.0
19Depăşit236kbTime limit exceeded.0
20Depăşit232kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?