Pagini recente » Borderou de evaluare (job #1319196) | Borderou de evaluare (job #254405) | Borderou de evaluare (job #339407) | Borderou de evaluare (job #767359) | Borderou de evaluare (job #1281787)
Borderou de evaluare (job #1281787)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:28: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]]=1;}
^
user.cpp:33: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:48: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:49: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:51: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:54:30: 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 | 388kb | Time limit exceeded. | 0 |
Punctaj total | 0 |