Pagini recente » Borderou de evaluare (job #159034) | Borderou de evaluare (job #2475496) | Borderou de evaluare (job #1415054) | Borderou de evaluare (job #1049261) | Borderou de evaluare (job #1591979)
Borderou de evaluare (job #1591979)
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 | 548kb | Incorect | 0 |
2 | 0ms | 544kb | OK | 10 |
3 | 0ms | 552kb | Incorect | 0 |
4 | 0ms | 552kb | OK | 10 |
5 | 0ms | 552kb | Incorect | 0 |
6 | 12ms | 776kb | Incorect | 0 |
7 | 4ms | 636kb | Incorect | 0 |
8 | 8ms | 792kb | Incorect | 0 |
9 | 12ms | 840kb | Incorect | 0 |
10 | 12ms | 868kb | OK | 10 |
Punctaj total | 30 |