Borderou de evaluare (job #1456630)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 1 iulie 2015 13:51:39
Problema Hashtag Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hashtag.in","r",stdin); ^ user.cpp:19:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hashtag.out","w",stdout); ^ user.cpp:21:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:25:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir+1); ^ /tmp/ccvyjQpY.o: In function `main': user.cpp:(.text.startup+0x8d): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms268kbOK10
34ms268kbIncorect0
456ms272kbOK10
568ms264kbIncorect0
668ms268kbOK10
772ms264kbOK10
872ms264kbOK10
972ms272kbIncorect0
1072ms268kbIncorect0
Punctaj total60

Ceva nu functioneaza?