Borderou de evaluare (job #1567106)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 12 ianuarie 2016 22:04:56
Problema Secv10 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:67:36: 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:68:38: 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:73:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &T); ^ user.cpp:75:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:77:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(prefix); prefixLength = strlen(prefix); ^ user.cpp:78:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(suffix); suffixLength = strlen(suffix); ^ /tmp/ccCsLORz.o: In function `main': user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
168ms1380kbIncorect0
Punctaj total0

Ceva nu functioneaza?