Pagini recente » Borderou de evaluare (job #1838266) | Borderou de evaluare (job #1738204) | Borderou de evaluare (job #2710706) | Borderou de evaluare (job #1312117) | Borderou de evaluare (job #2146853)
Borderou de evaluare (job #2146853)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:3: 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:3: 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:9: 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:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.in", "r", stdin);
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out", "w", stdout);
^
user.cpp:14:26: 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:15:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccXgpObE.o: In function `main':
user.cpp:(.text.startup+0x60): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 3088kb | OK | 10 |
2 | 0ms | 3176kb | OK | 10 |
3 | 4ms | 3468kb | OK | 10 |
4 | 8ms | 5548kb | OK | 10 |
5 | 8ms | 5552kb | OK | 10 |
6 | 12ms | 5552kb | OK | 10 |
7 | 16ms | 5552kb | OK | 10 |
8 | 24ms | 5632kb | OK | 10 |
9 | 36ms | 6012kb | OK | 10 |
10 | 44ms | 6408kb | OK | 10 |
Punctaj total | 100 |