Pagini recente » Borderou de evaluare (job #2784715) | Borderou de evaluare (job #2607277) | Borderou de evaluare (job #1627336) | Borderou de evaluare (job #1597323) | Borderou de evaluare (job #1281477)
Borderou de evaluare (job #1281477)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:25:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<A[nod].size();++i) {q.push(A[nod][i]);viz[A[nod][i]].pr=1;}
^
user.cpp:30:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<A[x].size();++i)
^
user.cpp: In function ‘int main()’:
user.cpp:41:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fof.in","r",stdin);
^
user.cpp:42:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fof.out","w",stdout);
^
user.cpp:43:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:46:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 376kb | Time limit exceeded. | 0 |
Punctaj total | 0 |