Pagini recente » Borderou de evaluare (job #1300322) | Borderou de evaluare (job #3164017) | Borderou de evaluare (job #2324643) | Borderou de evaluare (job #3283835) | Borderou de evaluare (job #2172304)
Borderou de evaluare (job #2172304)
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/ccNcY8Z1.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 | 3388kb | OK | 5 |
2 | 0ms | 3376kb | Incorect | 0 |
3 | 0ms | 3416kb | OK | 5 |
4 | 0ms | 3344kb | OK | 5 |
5 | 0ms | 3488kb | Incorect | 0 |
6 | 4ms | 3728kb | Incorect | 0 |
7 | 4ms | 6220kb | OK | 5 |
8 | 12ms | 11236kb | OK | 5 |
9 | 16ms | 11224kb | OK | 5 |
10 | 8ms | 13196kb | Incorect | 0 |
11 | 24ms | 23492kb | Incorect | 0 |
12 | 44ms | 29764kb | OK | 5 |
13 | 60ms | 35864kb | OK | 5 |
14 | 40ms | 48300kb | OK | 5 |
15 | 60ms | 58604kb | OK | 5 |
16 | 44ms | 60660kb | OK | 5 |
17 | 44ms | 75084kb | Incorect | 0 |
18 | 60ms | 75488kb | OK | 5 |
19 | 148ms | 81468kb | OK | 5 |
20 | 0ms | 3304kb | Incorect | 0 |
Punctaj total | 65 |