Borderou de evaluare (job #1899220)

Utilizator antanaAntonia Boca antana Data 2 martie 2017 16:34:27
Problema Miting Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:58:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("miting.in", "r", stdin); ^ user.cpp:59:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("miting.out", "w", stdout); ^ user.cpp:63:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d\n", &q, &n, &m); ^ user.cpp:64:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(word); ^ user.cpp:68:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s[i]+1); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:2: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:68:21: /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/cc1xT0RS.o: In function `main': user.cpp:(.text.startup+0xb1): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms296kbOK5
20ms308kbOK5
30ms304kbOK5
40ms304kbOK5
50ms376kbOK5
64ms1684kbOK5
78ms2088kbOK5
88ms2084kbOK5
90ms404kbOK5
1020ms1792kbOK5
110ms412kbOK5
1212ms1932kbOK5
130ms608kbOK5
144ms692kbOK5
150ms752kbOK5
1652ms1712kbOK5
1748ms1936kbOK5
1872ms1936kbOK5
1980ms2096kbOK5
2048ms2096kbOK5
Punctaj total100

Ceva nu functioneaza?