Pagini recente » Borderou de evaluare (job #310745) | Borderou de evaluare (job #741954) | Borderou de evaluare (job #2431176) | Borderou de evaluare (job #2146475) | Borderou de evaluare (job #2160881)
Borderou de evaluare (job #2160881)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13: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:13: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:13: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:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("smooth2.in","r",stdin);
^
user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("smooth2.out","w",stdout);
^
user.cpp:13:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cc0tvR2Q.o: In function `main':
user.cpp:(.text.startup+0x49): warning: the `gets' function is dangerous and should not be used.
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 4ms | 2276kb | OK! | 0 | 0 |
✓ | 2 | 4ms | 2252kb | OK! | 0 | 0 |
✓ | 3 | 4ms | 2236kb | OK! | 0 | 0 |
✓ | 4 | 4ms | 2208kb | OK! | 0 | 0 |
✗ | 5 | 4ms | 2224kb | OK! | 3 | 3 |
✗ | 6 | 4ms | 2204kb | Raspuns gresit! | 0 | 0 |
✗ | 7 | 4ms | 2300kb | OK! | 2 | 2 |
✗ | 8 | 4ms | 2252kb | Raspuns gresit! | 0 | 0 |
✗ | 9 | 8ms | 2244kb | OK! | 3 | 3 |
✗ | 10 | 304ms | 2224kb | OK! | 3 | 3 |
✗ | 11 | 4ms | 2308kb | OK! | 4 | 4 |
✗ | 12 | 4ms | 2236kb | Raspuns gresit! | 0 | 0 |
✗ | 13 | 204ms | 2688kb | OK! | 5 |
✗ | 14 | 4ms | 2200kb | Raspuns gresit! | 0 |
✗ | 15 | 64ms | 2764kb | Raspuns gresit! | 0 |
✗ | 16 | 72ms | 2676kb | OK! | 5 |
✗ | 17 | 64ms | 2780kb | Raspuns gresit! | 0 |
✗ | 18 | 88ms | 2696kb | OK! | 5 | 0 |
✗ | 19 | 64ms | 2668kb | Raspuns gresit! | 0 |
✗ | 20 | 64ms | 2644kb | Raspuns gresit! | 0 |
Punctaj total | 15 |