Pagini recente » Borderou de evaluare (job #3119799) | Borderou de evaluare (job #1131393) | Borderou de evaluare (job #807421) | Borderou de evaluare (job #2848126) | Borderou de evaluare (job #2146982)
Borderou de evaluare (job #2146982)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/5/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:14:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/5/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:14:11: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/5/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:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("secventa.in", "r",stdin);
^
user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out", "w",stdout);
^
user.cpp:13:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &k);
^
user.cpp:14:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cc5oj5pu.o: In function `main':
user.cpp:(.text.startup+0x66): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 3096kb | OK | 10 |
| 2 | 0ms | 3172kb | OK | 10 |
| 3 | 4ms | 3476kb | OK | 10 |
| 4 | 8ms | 5552kb | OK | 10 |
| 5 | 8ms | 5556kb | OK | 10 |
| 6 | 12ms | 5552kb | OK | 10 |
| 7 | 16ms | 5552kb | OK | 10 |
| 8 | 24ms | 5556kb | OK | 10 |
| 9 | 36ms | 5552kb | OK | 10 |
| 10 | Depăşit | 5912kb | Time limit exceeded. | 0 |
| Punctaj total | 90 |