Pagini recente » Borderou de evaluare (job #2471160) | Borderou de evaluare (job #2250093) | Borderou de evaluare (job #350963) | Borderou de evaluare (job #2477392) | Borderou de evaluare (job #2167840)
Borderou de evaluare (job #2167840)
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/cck2iKJa.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 | 3504kb | Te stii ! | 5 |
| 2 | 4ms | 3540kb | Te stii ! | 5 |
| 3 | 4ms | 3492kb | Te stii ! | 5 |
| 4 | 4ms | 3572kb | Te stii ! | 5 |
| 5 | 4ms | 3576kb | Te stii ! | 5 |
| 6 | 4ms | 3672kb | Valoare incorecta cerinta 2 ! | 1 |
| 7 | 4ms | 3616kb | Te stii ! | 5 |
| 8 | 4ms | 3584kb | Te stii ! | 5 |
| 9 | 4ms | 3580kb | Te stii ! | 5 |
| 10 | 4ms | 3584kb | Valoare incorecta cerinta 2 ! | 1 |
| 11 | 4ms | 3696kb | Te stii ! | 5 |
| 12 | 4ms | 3684kb | Te stii ! | 5 |
| 13 | 8ms | 3664kb | Te stii ! | 5 |
| 14 | 8ms | 3692kb | Te stii ! | 5 |
| 15 | 16ms | 4772kb | Te stii ! | 5 |
| 16 | 40ms | 6124kb | Te stii ! | 5 |
| 17 | 100ms | 11380kb | Te stii ! | 5 |
| 18 | 208ms | 16632kb | Te stii ! | 5 |
| 19 | 308ms | 24516kb | Te stii ! | 5 |
| 20 | 428ms | 29816kb | Te stii ! | 5 |
| Punctaj total | 92 |