Borderou de evaluare (job #1536680)

Utilizator SilviuIIon Silviu SilviuI Data 26 noiembrie 2015 15:22:39
Problema Traseu2 Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("traseu2.in","r",stdin); ^ user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("traseu2.out","w",stdout); ^ user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); gets(s); ^ user.cpp:20:30: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); gets(s); ^ user.cpp:22:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); k=1; ^ /tmp/ccpPdHw7.o: In function `main': user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms444kbOK10100
212ms432kbOK10
312ms432kbOK10
48ms444kbOK10
58ms436kbOK10
612ms448kbOK10
712ms452kbOK10
812ms440kbOK10
912ms444kbOK10
108ms372kbOK10
Punctaj total100

Ceva nu functioneaza?