Pagini recente » Borderou de evaluare (job #1018988) | Borderou de evaluare (job #1313563) | Borderou de evaluare (job #1015638) | Borderou de evaluare (job #1391055) | Borderou de evaluare (job #1946542)
Borderou de evaluare (job #1946542)
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 |
1 | 68ms | 41104kb | Incorect! | 0 | 0 |
2 | 68ms | 41684kb | Incorect! | 0 |
3 | 68ms | 41320kb | Incorect! | 0 |
4 | 548ms | 70908kb | OK! | 7 | 14 |
5 | 468ms | 71100kb | OK! | 7 |
6 | 464ms | 70288kb | Incorect! | 0 | 0 |
7 | 52ms | 38452kb | Incorect! | 0 |
8 | 476ms | 69556kb | Incorect! | 0 |
9 | 376ms | 62020kb | OK! | 10 |
10 | 484ms | 70880kb | Incorect! | 0 |
11 | 708ms | 99172kb | Incorect! | 0 | 0 |
Punctaj total | 14 |