Pagini recente » Borderou de evaluare (job #36001) | Borderou de evaluare (job #1487692) | Borderou de evaluare (job #165287) | Borderou de evaluare (job #702053) | Borderou de evaluare (job #2172267)
Borderou de evaluare (job #2172267)
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/ccCDiLgI.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 | 3288kb | OK | 5 |
| 2 | 0ms | 3292kb | Incorect | 0 |
| 3 | 0ms | 3420kb | OK | 5 |
| 4 | 0ms | 3420kb | OK | 5 |
| 5 | 0ms | 3604kb | Incorect | 0 |
| 6 | 4ms | 3776kb | Incorect | 0 |
| 7 | 4ms | 6224kb | OK | 5 |
| 8 | 12ms | 11200kb | OK | 5 |
| 9 | 16ms | 11204kb | OK | 5 |
| 10 | 8ms | 13172kb | Incorect | 0 |
| 11 | 24ms | 23576kb | Incorect | 0 |
| 12 | 44ms | 29756kb | OK | 5 |
| 13 | 60ms | 35968kb | OK | 5 |
| 14 | 40ms | 48300kb | OK | 5 |
| 15 | 60ms | 58640kb | OK | 5 |
| 16 | 44ms | 60576kb | OK | 5 |
| 17 | 44ms | 75120kb | Incorect | 0 |
| 18 | 60ms | 77076kb | OK | 5 |
| 19 | 140ms | 81456kb | OK | 5 |
| 20 | 0ms | 3332kb | Incorect | 0 |
| Punctaj total | 65 |