Pagini recente » Borderou de evaluare (job #2559864) | Borderou de evaluare (job #696264) | Borderou de evaluare (job #339560) | Borderou de evaluare (job #3147090) | Borderou de evaluare (job #2172366)
Borderou de evaluare (job #2172366)
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/ccXENYeM.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 | 3304kb | OK | 5 |
2 | 0ms | 3420kb | Incorect | 0 |
3 | 0ms | 3388kb | OK | 5 |
4 | 0ms | 3340kb | OK | 5 |
5 | 0ms | 3612kb | Incorect | 0 |
6 | 4ms | 5852kb | Incorect | 0 |
7 | 4ms | 6160kb | OK | 5 |
8 | 12ms | 11124kb | OK | 5 |
9 | 16ms | 11168kb | OK | 5 |
10 | 8ms | 13224kb | Incorect | 0 |
11 | 24ms | 23492kb | Incorect | 0 |
12 | 44ms | 29664kb | OK | 5 |
13 | 60ms | 38020kb | OK | 5 |
14 | 40ms | 48220kb | OK | 5 |
15 | 60ms | 58516kb | OK | 5 |
16 | 48ms | 60700kb | OK | 5 |
17 | 44ms | 77052kb | Incorect | 0 |
18 | 60ms | 77148kb | OK | 5 |
19 | 144ms | 82156kb | OK | 5 |
20 | 0ms | 3376kb | Incorect | 0 |
Punctaj total | 65 |