Pagini recente » Borderou de evaluare (job #1575444) | Borderou de evaluare (job #1230597) | Borderou de evaluare (job #1265545) | Borderou de evaluare (job #1537855) | Borderou de evaluare (job #2698538)
Borderou de evaluare (job #2698538)
Raport evaluator
Compilare:
main.cpp: In function 'void bfs(int, int*)':
main.cpp:25:29: warning: 'sizeof' on array function parameter 'viz' will return size of 'int*' [-Wsizeof-array-argument]
memset(viz, 0,sizeof(viz));
^
main.cpp:22:27: note: declared here
void bfs(int nod, int viz[])
^
main.cpp:25:25: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(viz, 0,sizeof(viz));
^
main.cpp:33:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<lista[coada[inc]].size(); i++)
~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void citire()':
main.cpp:12:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&m,&x,&y);
^
main.cpp:16:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n1,&n2);
^
main.cpp: In function 'int main()':
main.cpp:48:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.in","r",stdin);
^
main.cpp:49:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 393kb | OK | 10 |
2 | 3ms | 393kb | OK | 10 |
3 | 3ms | 393kb | Incorect | 0 |
4 | 3ms | 393kb | OK | 10 |
5 | 3ms | 393kb | OK | 10 |
6 | 15ms | 786kb | OK | 10 |
7 | 7ms | 524kb | OK | 10 |
8 | 14ms | 655kb | OK | 10 |
9 | 15ms | 655kb | OK | 10 |
10 | 15ms | 786kb | Incorect | 0 |
Punctaj total | 80 |