Pagini recente » Borderou de evaluare (job #2133230) | Stv | Borderou de evaluare (job #1979399) | Borderou de evaluare (job #1477642) | Borderou de evaluare (job #2194139)
Borderou de evaluare (job #2194139)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS(int)’:
user.cpp:16:13: warning: unused variable ‘vec’ [-Wunused-variable]
int nod,vec,mm,drm;
^~~
user.cpp:16:20: warning: variable ‘drm’ set but not used [-Wunused-but-set-variable]
int nod,vec,mm,drm;
^~~
user.cpp: In function ‘int main()’:
user.cpp:41:21: warning: unused variable ‘k’ [-Wunused-variable]
int n,m,i,s,x,y,k=0;
^
user.cpp:42:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d %d\n",&n,&m,&s);
^
user.cpp:45:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&x,&y);
^
user.cpp: In function ‘void BFS(int)’:
user.cpp:28:19: warning: array subscript is above array bounds [-Warray-bounds]
mm=t[1][mm];
~~~^
user.cpp: In function ‘int main()’:
user.cpp:47:12: warning: array subscript is above array bounds [-Warray-bounds]
t[1][i]=start[x];
~~~^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 872kb | Incorect | 0 |
| 2 | 0ms | 876kb | Incorect | 0 |
| 3 | 0ms | 860kb | Incorect | 0 |
| 4 | 4ms | 932kb | OK | 10 |
| 5 | 8ms | 1016kb | Incorect | 0 |
| 6 | 52ms | 1556kb | Incorect | 0 |
| 7 | 56ms | 1628kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 56ms | 1628kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 60ms | 1628kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 60ms | 1624kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 10 |