Borderou de evaluare (job #1447911)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 5 iunie 2015 18:40:19
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void Read_Text()’: user.cpp:39:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ user.cpp:42:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(aux); ^ user.cpp: In function ‘void Set()’: user.cpp:63:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &m); ^ user.cpp:67:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets( Cuv[i] ); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:4: In function ‘char* gets(char*)’, inlined from ‘void Set()’ at user.cpp:67:23: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ /tmp/ccJkNyhV.o: In function `Set()': user.cpp:(.text+0x1b7): warning: the `gets' function is dangerous and should not be used. /tmp/ccJkNyhV.o: In function `Read_Text()': user.cpp:(.text+0x5b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
160ms360kbOK10
24ms336kbOK10
312ms440kbOK10
424ms1220kbOK10
560ms3420kbOK10
6112ms3452kbOK10
7196ms3484kbOK10
8384ms50952kbOK10
9400ms57696kbOK10
10256ms5204kbOK10
Punctaj total100

Ceva nu functioneaza?