Pagini recente » Borderou de evaluare (job #1022632) | Borderou de evaluare (job #2063049) | Borderou de evaluare (job #2815591) | Borderou de evaluare (job #1766915) | Borderou de evaluare (job #2194137)
Borderou de evaluare (job #2194137)
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 | 864kb | Incorect | 0 |
2 | 0ms | 872kb | Incorect | 0 |
3 | 0ms | 856kb | Incorect | 0 |
4 | 4ms | 932kb | OK | 10 |
5 | 8ms | 1008kb | Incorect | 0 |
6 | 52ms | 1552kb | Incorect | 0 |
7 | 56ms | 1632kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 60ms | 1628kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 60ms | 1624kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 56ms | 1624kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 10 |