Pagini recente » Borderou de evaluare (job #406790) | Borderou de evaluare (job #2741619) | Borderou de evaluare (job #121133) | Borderou de evaluare (job #2480033) | Borderou de evaluare (job #1703062)
Borderou de evaluare (job #1703062)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS(int)’:
user.cpp:16: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:65:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<out[i].size();j++)
^
user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drumuri2.in","r",stdin);
^
user.cpp:47:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drumuri2.out","w",stdout);
^
user.cpp:49:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:51:28: 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 | 0ms | 284kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 0ms | 292kb | OK | 10 |
6 | 0ms | 324kb | OK | 10 |
7 | 0ms | 352kb | OK | 10 |
8 | 0ms | 368kb | OK | 10 |
9 | 0ms | 376kb | OK | 10 |
10 | 0ms | 360kb | OK | 10 |
Punctaj total | 100 |