Pagini recente » Borderou de evaluare (job #1873601) | Borderou de evaluare (job #2591454) | Borderou de evaluare (job #2718362) | Borderou de evaluare (job #2615781) | Borderou de evaluare (job #1945366)
Borderou de evaluare (job #1945366)
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 | 288kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 0ms | 292kb | OK | 10 |
6 | 0ms | 328kb | OK | 10 |
7 | 0ms | 348kb | OK | 10 |
8 | 0ms | 372kb | OK | 10 |
9 | 0ms | 376kb | OK | 10 |
10 | 0ms | 364kb | OK | 10 |
Punctaj total | 100 |