Pagini recente » Borderou de evaluare (job #2950816) | Borderou de evaluare (job #3283965) | Borderou de evaluare (job #2849083) | Borderou de evaluare (job #2393192) | Borderou de evaluare (job #2172263)
Borderou de evaluare (job #2172263)
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/ccjA1OAO.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 | 3376kb | Incorect | 0 |
2 | 0ms | 3420kb | Incorect | 0 |
3 | 0ms | 3380kb | Incorect | 0 |
4 | 0ms | 3456kb | Incorect | 0 |
5 | 0ms | 3492kb | Incorect | 0 |
6 | 4ms | 3700kb | Incorect | 0 |
7 | 4ms | 6260kb | Incorect | 0 |
8 | 12ms | 11236kb | Incorect | 0 |
9 | 16ms | 11204kb | Incorect | 0 |
10 | 8ms | 13296kb | Incorect | 0 |
11 | 24ms | 23488kb | Incorect | 0 |
12 | 44ms | 29740kb | Incorect | 0 |
13 | 60ms | 35868kb | Incorect | 0 |
14 | 40ms | 48308kb | Incorect | 0 |
15 | 60ms | 58520kb | Incorect | 0 |
16 | 44ms | 60676kb | Incorect | 0 |
17 | 44ms | 75088kb | Incorect | 0 |
18 | 60ms | 77104kb | Incorect | 0 |
19 | 140ms | 81376kb | Incorect | 0 |
20 | 0ms | 3296kb | Incorect | 0 |
Punctaj total | 0 |