Borderou de evaluare (job #1406988)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 29 martie 2015 17:54:13
Problema Secv10 Status done
Runda ONIS 2015, Runda 2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:53:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv10.in","r",stdin); ^ user.cpp:54:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv10.out","w",stdout); ^ user.cpp:56:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &T); ^ user.cpp:60:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(b+1); m=strlen(b+1); ^ user.cpp:63:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a+1); n=strlen(a+1); N = n; ^ user.cpp:72:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a+1); n=strlen(a+1); ^ /tmp/ccNcfw1P.o: In function `main': user.cpp:(.text.startup+0x77): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
124ms804kbIncorect0
Punctaj total0

Ceva nu functioneaza?