Borderou de evaluare (job #1666640)

Utilizator mirupetPetcan Miruna mirupet Data 28 martie 2016 11:09:52
Problema Zone 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:83:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d\n", &N, &M, &K); ^ user.cpp:86:27: 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:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:86:27: /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/ccZiO0jW.o: In function `main': user.cpp:(.text.startup+0x55): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
184ms3564kbIncorect0
20ms1392kbIncorect0
34ms1492kbIncorect0
48ms1608kbIncorect0
58ms1704kbIncorect0
68ms1708kbIncorect0
712ms1708kbIncorect0
836ms2380kbIncorect0
980ms3420kbIncorect0
1084ms3488kbIncorect0
Punctaj total0

Ceva nu functioneaza?