Pagini recente » Borderou de evaluare (job #2389689) | Borderou de evaluare (job #979293) | Borderou de evaluare (job #941279) | Borderou de evaluare (job #268573) | Borderou de evaluare (job #1591663)
Borderou de evaluare (job #1591663)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:22: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:44:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[y].size();++i)
^
user.cpp:58: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:93:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<sol.size();i++)
^
user.cpp:75: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:76:36: 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:78: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:82: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 | Incorect | 0 |
2 | 0ms | 548kb | OK | 10 |
3 | 0ms | 552kb | Incorect | 0 |
4 | 0ms | 552kb | OK | 10 |
5 | 0ms | 552kb | Incorect | 0 |
6 | 12ms | 776kb | Incorect | 0 |
7 | 4ms | 640kb | Incorect | 0 |
8 | 8ms | 784kb | Incorect | 0 |
9 | 12ms | 824kb | Incorect | 0 |
10 | 12ms | 848kb | OK | 10 |
Punctaj total | 30 |