Borderou de evaluare (job #1477891)

Utilizator SilviuIIon Silviu SilviuI Data 27 august 2015 12:29:58
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/ccJg4uiy.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ăşit228kbTime limit exceeded.0
3Depăşit232kbTime limit exceeded.0
412ms380kbOK5
5Depăşit396kbTime limit exceeded.0
6Depăşit396kbTime limit exceeded.0
7Depăşit392kbTime limit exceeded.0
8Depăşit396kbTime limit exceeded.0
9Depăşit444kbTime limit exceeded.0
10Depăşit440kbTime limit exceeded.0
11Depăşit444kbTime limit exceeded.0
120ms232kbOK5
130ms240kbOK5
140ms240kbOK5
150ms240kbOK5
16Depăşit252kbTime limit exceeded.0
17Depăşit252kbTime limit exceeded.0
18Depăşit228kbTime limit exceeded.0
19Depăşit232kbTime limit exceeded.0
20Depăşit228kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?