Borderou de evaluare (job #1666908)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:79: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:82: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:82: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/ccMnMhmT.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
192ms3544kbOK10
20ms1432kbOK10
34ms1512kbOK10
48ms1640kbOK10
512ms1728kbOK10
612ms1732kbOK10
712ms1732kbOK10
840ms2384kbOK10
996ms3400kbOK10
1096ms3460kbOK10
Punctaj total100

Ceva nu functioneaza?