Borderou de evaluare (job #1818300)

Utilizator stelian2000Stelian Chichirim stelian2000 Data 29 noiembrie 2016 00:05:37
Problema Superstring Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:34:11: warning: unused variable ‘k’ [-Wunused-variable] int t,k,l1,l2,a,sol; ^ user.cpp:32:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("superstring.in","r",stdin); ^ user.cpp:33:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("superstring.out","w",stdout); ^ user.cpp:35:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&t); ^ user.cpp:39:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir+1); ^ user.cpp:40:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir1+1); ^ /tmp/ccawq3Zh.o: In function `main': user.cpp:(.text.startup+0x84): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1284ms6112kbOK100
Punctaj total100

Ceva nu functioneaza?