Borderou de evaluare (job #1443142)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 27 mai 2015 01:06:06
Problema Carte Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

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:70: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/ccDSUy5t.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
1260ms1408kbOK100
Punctaj total100

Ceva nu functioneaza?