Pagini recente » Borderou de evaluare (job #2584374) | Borderou de evaluare (job #3174478) | Borderou de evaluare (job #2449795) | Borderou de evaluare (job #2758378) | Borderou de evaluare (job #1591984)
Borderou de evaluare (job #1591984)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:21:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[k].size();i++)
^
user.cpp: In function ‘void bfs2()’:
user.cpp:45:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[y].size();++i)
^
user.cpp:60:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int f=0;f<v[x].size();f++)
^
user.cpp: In function ‘int main()’:
user.cpp:95:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<sol.size();i++)
^
user.cpp:77:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.in", "r", stdin);
^
user.cpp:78:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.out", "w", stdout);
^
user.cpp:80:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i %i %i", &n, &m, &x, &y);
^
user.cpp:84:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 544kb | OK | 10 |
2 | 0ms | 556kb | OK | 10 |
3 | 0ms | 556kb | OK | 10 |
4 | 0ms | 556kb | OK | 10 |
5 | 0ms | 560kb | OK | 10 |
6 | 12ms | 776kb | OK | 10 |
7 | 4ms | 652kb | OK | 10 |
8 | 8ms | 792kb | OK | 10 |
9 | 12ms | 800kb | OK | 10 |
10 | 8ms | 868kb | OK | 10 |
Punctaj total | 100 |