Pagini recente » Borderou de evaluare (job #2558059) | Borderou de evaluare (job #2038069) | Borderou de evaluare (job #555907) | Borderou de evaluare (job #2830663) | Borderou de evaluare (job #2194131)
Borderou de evaluare (job #2194131)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS(int)’:
user.cpp:14:13: warning: unused variable ‘vec’ [-Wunused-variable]
int nod,vec,mm;
^~~
user.cpp: In function ‘int main()’:
user.cpp:38:21: warning: unused variable ‘k’ [-Wunused-variable]
int n,m,i,s,x,y,k=0;
^
user.cpp:39: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:42: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:25:19: warning: array subscript is above array bounds [-Warray-bounds]
mm=t[1][mm];
~~~^
user.cpp: In function ‘int main()’:
user.cpp:44:12: warning: array subscript is above array bounds [-Warray-bounds]
t[1][i]=start[x];
~~~^
user.cpp:57:28: warning: array subscript is above array bounds [-Warray-bounds]
fprintf(g,"%d,",t[1][i]);
~~~^
user.cpp:58:25: warning: array subscript is above array bounds [-Warray-bounds]
fprintf(g,"%d }",t[1][i]);
~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 4936kb | Incorect | 0 |
2 | 0ms | 4936kb | Incorect | 0 |
3 | 0ms | 4940kb | Incorect | 0 |
4 | 12ms | 4956kb | Incorect | 0 |
5 | 20ms | 4996kb | Incorect | 0 |
6 | 96ms | 5328kb | Incorect | 0 |
7 | 56ms | 5296kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 60ms | 5304kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 60ms | 5296kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 60ms | 5296kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |