Borderou de evaluare (job #2184051)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(sir+1);
^~~~
In file included from /usr/include/c++/6/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
user.cpp:31:19: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(sir+1);
^
In file included from /usr/include/c++/6/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
user.cpp:24:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rps.in","r",stdin);
^
user.cpp:25:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rps.out","w",stdout);
^
user.cpp:27:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d\n",&n,&k,&w,&d);
^
user.cpp:31:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
/tmp/ccE8DtAo.o: In function `main':
user.cpp:(.text.startup+0xda): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2888kb | OK | 5 |
2 | 0ms | 2888kb | OK | 5 |
3 | 8ms | 3736kb | OK | 5 |
4 | 8ms | 3732kb | Incorect | 0 |
5 | 8ms | 3736kb | Incorect | 0 |
6 | 8ms | 3736kb | OK | 5 |
7 | Depăşit | 60396kb | Time limit exceeded. | 0 |
8 | Depăşit | 60304kb | Time limit exceeded. | 0 |
9 | Depăşit | 60608kb | Time limit exceeded. | 0 |
10 | Depăşit | 60536kb | Time limit exceeded. | 0 |
11 | Depăşit | 62232kb | Time limit exceeded. | 0 |
12 | Depăşit | 62204kb | Time limit exceeded. | 0 |
13 | Depăşit | 61120kb | Time limit exceeded. | 0 |
14 | Depăşit | 60608kb | Time limit exceeded. | 0 |
15 | Depăşit | 62216kb | Time limit exceeded. | 0 |
16 | Depăşit | 60952kb | Time limit exceeded. | 0 |
17 | Depăşit | 60280kb | Time limit exceeded. | 0 |
18 | Depăşit | 60648kb | Time limit exceeded. | 0 |
19 | Depăşit | 63312kb | Time limit exceeded. | 0 |
20 | 236ms | 10140kb | OK | 5 |
Punctaj total | 25 |