Pagini recente » Borderou de evaluare (job #1711399) | Borderou de evaluare (job #2991728) | Borderou de evaluare (job #1006809) | Borderou de evaluare (job #1010573) | Borderou de evaluare (job #1997178)
Borderou de evaluare (job #1997178)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs1()’:
user.cpp:29:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();++i)
^
user.cpp: In function ‘void bfs2(int)’:
user.cpp:58:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();++i)
^
user.cpp: In function ‘int main()’:
user.cpp:80:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,t,x,y;
^
user.cpp:78:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easygraph.in","r",stdin);
^
user.cpp:79:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easygraph.out","w",stdout);
^
user.cpp:81:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:84:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:86:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:89:32: 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 | 476ms | 5832kb | Incorect | 0 |
Punctaj total | 0 |