Borderou de evaluare (job #1946542)

Utilizator pepsiM4A1Ozturk Arif pepsiM4A1 Data 30 martie 2017 10:28:18
Problema Gravity Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 14

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:51:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("gravity.in","r",stdin); ^ user.cpp:52:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("gravity.out","w",stdout); ^ user.cpp:53: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:54:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch[0][0]); ^ user.cpp:57:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(ch[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:57:22: /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/cc9Im6Ef.o: In function `main': user.cpp:(.text.startup+0x9d): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
168ms41104kbIncorect!00
268ms41684kbIncorect!0
368ms41320kbIncorect!0
4548ms70908kbOK!714
5468ms71100kbOK!7
6464ms70288kbIncorect!00
752ms38452kbIncorect!0
8476ms69556kbIncorect!0
9376ms62020kbOK!10
10484ms70880kbIncorect!0
11708ms99172kbIncorect!00
Punctaj total14

Ceva nu functioneaza?