Pagini recente » Borderou de evaluare (job #61177) | Borderou de evaluare (job #289945) | Borderou de evaluare (job #671789) | Borderou de evaluare (job #1879434) | Borderou de evaluare (job #2167830)
Borderou de evaluare (job #2167830)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s + 1);
^
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:40:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s + 1);
^
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:40:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s + 1);
^
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:35:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("blis.in", "r", stdin);
^
user.cpp:36:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("blis.out", "w", stdout);
^
user.cpp:39:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &k);
^
user.cpp:40:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccD3Wvyi.o: In function `main':
user.cpp:(.text.startup+0x64): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3500kb | Te stii ! | 5 |
2 | 4ms | 3520kb | Te stii ! | 5 |
3 | 4ms | 3464kb | Te stii ! | 5 |
4 | 4ms | 3620kb | Te stii ! | 5 |
5 | 4ms | 3568kb | Te stii ! | 5 |
6 | 4ms | 3676kb | Valoare incorecta cerinta 2 ! | 1 |
7 | 4ms | 3648kb | Te stii ! | 5 |
8 | 4ms | 3556kb | Te stii ! | 5 |
9 | 4ms | 3572kb | Te stii ! | 5 |
10 | 4ms | 3564kb | Valoare incorecta cerinta 2 ! | 1 |
11 | 4ms | 3704kb | Te stii ! | 5 |
12 | 4ms | 3720kb | Te stii ! | 5 |
13 | 8ms | 3732kb | Te stii ! | 5 |
14 | 8ms | 3788kb | Te stii ! | 5 |
15 | 16ms | 4780kb | Te stii ! | 5 |
16 | 36ms | 6176kb | Te stii ! | 5 |
17 | 100ms | 11428kb | Te stii ! | 5 |
18 | 204ms | 16592kb | Te stii ! | 5 |
19 | 308ms | 24480kb | Te stii ! | 5 |
20 | 412ms | 29500kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 87 |