Pagini recente » Borderou de evaluare (job #1994234) | Borderou de evaluare (job #1937619) | Borderou de evaluare (job #1512961) | Borderou de evaluare (job #122897) | Borderou de evaluare (job #2135936)
Borderou de evaluare (job #2135936)
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:10: 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:21:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++f[s[dr]];
^
user.cpp:22:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[s[dr]] == 1) {
^
user.cpp:33:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
--f[s[st]];
^
user.cpp:34:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[s[st]] == 0) {
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("teatru.in", "r", stdin);
^
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("teatru.out", "w", stdout);
^
user.cpp:14:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d\n", &z, &c);
^
user.cpp:15:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (s);
^
user.cpp:42:25: warning: ‘drmin’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 816kb | OK | 10 |
2 | 0ms | 820kb | OK | 10 |
3 | 0ms | 868kb | OK | 10 |
4 | 0ms | 868kb | OK | 10 |
5 | 0ms | 872kb | OK | 10 |
6 | 0ms | 876kb | OK | 10 |
7 | 4ms | 852kb | OK | 10 |
8 | 0ms | 844kb | OK | 10 |
9 | 4ms | 864kb | OK | 10 |
10 | 4ms | 880kb | OK | 10 |
Punctaj total | 100 |