Pagini recente » Borderou de evaluare (job #182283) | Borderou de evaluare (job #2716407) | Borderou de evaluare (job #1288943) | Borderou de evaluare (job #2984977) | Borderou de evaluare (job #2218254)
Borderou de evaluare (job #2218254)
Raport evaluator
Compilare:
user.cpp: In function ‘void lee(int, int, int (*)[105])’:
user.cpp:18:13: warning: unused variable ‘j’ [-Wunused-variable]
int i , j;
^
user.cpp: In function ‘int main()’:
user.cpp:46:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s + 1);
^~~~
In file included from /usr/include/c++/6/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:46:19: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s + 1);
^
In file included from /usr/include/c++/6/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:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rj.in" , "r" , stdin);
^
user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rj.out" , "w" , stdout);
^
user.cpp:43:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n" , &n , &m);
^
user.cpp:46:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:65:27: warning: ‘yj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
lee(xj , yj , julieta);
^
user.cpp:65:27: warning: ‘xj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:67:25: warning: ‘yr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
lee(xr , yr , romeo);
^
user.cpp:67:25: warning: ‘xr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
/tmp/ccV1vVf0.o: In function `main':
user.cpp:(.text.startup+0x81): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 856kb | OK | 10 | 50 |
2 | 0ms | 880kb | OK | 10 |
3 | 0ms | 876kb | OK | 10 |
4 | 0ms | 932kb | OK | 10 |
5 | 0ms | 928kb | OK | 10 |
6 | 0ms | 896kb | OK | 10 | 50 |
7 | 0ms | 892kb | OK | 10 |
8 | 0ms | 904kb | OK | 10 |
9 | 0ms | 856kb | OK | 10 |
10 | 0ms | 872kb | OK | 10 |
Punctaj total | 100 |