Pagini recente » Blat | Borderou de evaluare (job #2494114) | Borderou de evaluare (job #2582726) | Cod sursa (job #2470246) | Borderou de evaluare (job #1946551)
Borderou de evaluare (job #1946551)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55: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:56: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:57: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:58: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:61: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:61: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/ccENyd4Z.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 | 80ms | 41100kb | Incorect! | 0 | 0 |
| 2 | 80ms | 41688kb | Incorect! | 0 |
| 3 | 80ms | 41324kb | Incorect! | 0 |
| 4 | 480ms | 70908kb | OK! | 7 | 14 |
| 5 | 552ms | 71108kb | OK! | 7 |
| 6 | 544ms | 70288kb | Incorect! | 0 | 0 |
| 7 | 60ms | 38456kb | Incorect! | 0 |
| 8 | 528ms | 69560kb | Incorect! | 0 |
| 9 | 372ms | 62024kb | OK! | 10 |
| 10 | 496ms | 70876kb | Incorect! | 0 |
| 11 | 648ms | 99176kb | Incorect! | 0 | 0 |
| Punctaj total | 14 |