Borderou de evaluare (job #2019846)

Utilizator mouse_wirelessMouse Wireless mouse_wireless Data 8 septembrie 2017 18:17:47
Problema Map Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:59:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:63:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(m[i]); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:63:15: /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/cczqYPyK.o: In function `main': user.cpp:(.text.startup+0x10c): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms308kbOK5
20ms332kbOK5
30ms328kbOK5
40ms324kbOK5
50ms492kbOK5
60ms492kbOK5
70ms488kbOK5
80ms484kbOK5
940ms3612kbOK5
1052ms4060kbOK5
1148ms4060kbOK5
1264ms4256kbOK5
1356ms4252kbOK5
1452ms3356kbOK5
1552ms3488kbOK5
1660ms3840kbOK5
1768ms4252kbOK5
1868ms4252kbOK5
1964ms4216kbOK5
2060ms3968kbOK5
Punctaj total100

Ceva nu functioneaza?