Pagini recente » Borderou de evaluare (job #2789590) | Borderou de evaluare (job #1970836) | Borderou de evaluare (job #939004) | Borderou de evaluare (job #932955) | Borderou de evaluare (job #1946537)
Borderou de evaluare (job #1946537)
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:56: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:56: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/ccN25RNB.o: In function `main':
user.cpp:(.text.startup+0x8d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 72ms | 41184kb | Incorect! | 0 | 0 |
2 | 72ms | 41808kb | Incorect! | 0 |
3 | 72ms | 41420kb | Incorect! | 0 |
4 | 544ms | 70912kb | Incorect! | 0 | 0 |
5 | 484ms | 71084kb | Incorect! | 0 |
6 | 468ms | 70396kb | Incorect! | 0 | 0 |
7 | 56ms | 38444kb | Incorect! | 0 |
8 | 460ms | 69692kb | Incorect! | 0 |
9 | 468ms | 62040kb | OK! | 10 |
10 | 484ms | 71008kb | Incorect! | 0 |
11 | 632ms | 99136kb | Incorect! | 0 | 0 |
Punctaj total | 0 |