Pagini recente » Borderou de evaluare (job #823684) | Borderou de evaluare (job #294061) | Borderou de evaluare (job #1351258) | Borderou de evaluare (job #281292) | Borderou de evaluare (job #2159942)
Borderou de evaluare (job #2159942)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:11:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:11:11: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:8:38: 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:9:40: 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:11:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccoPrcjW.o: In function `main':
user.cpp:(.text.startup+0x48): warning: the `gets' function is dangerous and should not be used.
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 4ms | 2748kb | OK! | 0 | 0 |
✓ | 2 | 4ms | 2648kb | OK! | 0 | 0 |
✓ | 3 | 4ms | 2656kb | Raspuns gresit! | 0 | 0 |
✓ | 4 | 4ms | 2672kb | Raspuns gresit! | 0 | 0 |
✗ | 5 | 4ms | 2668kb | OK! | 3 | 3 |
✗ | 6 | 4ms | 2924kb | Raspuns gresit! | 0 | 0 |
✗ | 7 | 4ms | 2764kb | Raspuns gresit! | 0 | 0 |
✗ | 8 | 4ms | 2904kb | Raspuns gresit! | 0 | 0 |
✗ | 9 | 4ms | 2908kb | Raspuns gresit! | 0 | 0 |
✗ | 10 | 4ms | 2664kb | Raspuns gresit! | 0 | 0 |
✗ | 11 | 4ms | 2920kb | Raspuns gresit! | 0 | 0 |
✗ | 12 | 4ms | 2880kb | Raspuns gresit! | 0 | 0 |
✗ | 13 | 4ms | 2988kb | Raspuns gresit! | 0 |
✗ | 14 | 4ms | 2920kb | Raspuns gresit! | 0 |
✗ | 15 | 4ms | 2764kb | Raspuns gresit! | 0 |
✗ | 16 | 4ms | 2900kb | Raspuns gresit! | 0 |
✗ | 17 | 4ms | 2728kb | Raspuns gresit! | 0 |
✗ | 18 | 4ms | 2968kb | Raspuns gresit! | 0 | 0 |
✗ | 19 | 4ms | 2896kb | Raspuns gresit! | 0 |
✗ | 20 | 4ms | 2760kb | Raspuns gresit! | 0 |
Punctaj total | 3 |