Pagini recente » Borderou de evaluare (job #2514071) | Borderou de evaluare (job #1597756) | Borderou de evaluare (job #250419) | Borderou de evaluare (job #2489811) | Borderou de evaluare (job #1339067)
Borderou de evaluare (job #1339067)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:31: 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:35:33: 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:38:26: 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:41:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i]+1);
^
user.cpp:76:84: warning: ‘ym’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(ro[i][j]<tm || (ro[i][j]==tm && i<xm) || (ro[i][j]==tm && i==xm && j<ym))
^
user.cpp:71:19: warning: ‘yj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
dfs(xj,yj);
^
user.cpp:71:19: warning: ‘xj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:64:15: warning: ‘yr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
dfs(xr,yr);
^
user.cpp:64:15: warning: ‘xr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:41:17:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccwetmT8.o: In function `main':
user.cpp:(.text.startup+0x86): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 288kb | OK | 10 | 50 |
| 2 | 0ms | 336kb | OK | 10 |
| 3 | 0ms | 324kb | OK | 10 |
| 4 | 0ms | 384kb | OK | 10 |
| 5 | 0ms | 412kb | OK | 10 |
| 6 | 0ms | 328kb | OK | 10 | 50 |
| 7 | 0ms | 340kb | OK | 10 |
| 8 | 0ms | 348kb | OK | 10 |
| 9 | 0ms | 272kb | OK | 10 |
| 10 | 0ms | 300kb | OK | 10 |
| Punctaj total | 100 |