Pagini recente » Borderou de evaluare (job #2392860) | Borderou de evaluare (job #1420369) | Borderou de evaluare (job #2616140) | Borderou de evaluare (job #2821936) | Borderou de evaluare (job #2172254)
Borderou de evaluare (job #2172254)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16: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:16: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:16: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:15: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:16:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S);
^
/tmp/ccYOyLd2.o: In function `main':
user.cpp:(.text.startup+0x30): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 3368kb | Incorect | 0 |
2 | 0ms | 3416kb | Incorect | 0 |
3 | 0ms | 3380kb | Incorect | 0 |
4 | 0ms | 3416kb | Incorect | 0 |
5 | 0ms | 3508kb | Incorect | 0 |
6 | 4ms | 3700kb | Incorect | 0 |
7 | 4ms | 6236kb | Incorect | 0 |
8 | 16ms | 11236kb | Incorect | 0 |
9 | 20ms | 11224kb | Incorect | 0 |
10 | 8ms | 13268kb | Incorect | 0 |
11 | 28ms | 23564kb | Incorect | 0 |
12 | 56ms | 29748kb | Incorect | 0 |
13 | 76ms | 35852kb | Incorect | 0 |
14 | 48ms | 48304kb | Incorect | 0 |
15 | 76ms | 58552kb | Incorect | 0 |
16 | 60ms | 60580kb | Incorect | 0 |
17 | 68ms | 75004kb | Incorect | 0 |
18 | 80ms | 77152kb | Incorect | 0 |
19 | 184ms | 81440kb | Incorect | 0 |
20 | 0ms | 3300kb | Incorect | 0 |
Punctaj total | 0 |