Borderou de evaluare (job #1443139)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 27 mai 2015 00:59:26
Problema Carte Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void Solve()’: user.cpp:36:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets( S + 1 ); len = strlen(S + 1); ^ user.cpp:37:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ user.cpp:40:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(B + 1); lg = strlen(B + 1); ^ user.cpp: In function ‘int main()’: user.cpp:66:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%d ", &teste); teste; --teste) ^ /tmp/ccX3nONa.o: In function `Solve()': user.cpp:(.text+0xa7): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1152ms1408kbIncorect0
Punctaj total0

Ceva nu functioneaza?