Pagini recente » Borderou de evaluare (job #1487143) | Borderou de evaluare (job #1125651) | Borderou de evaluare (job #2076980) | Borderou de evaluare (job #1995527) | Borderou de evaluare (job #2309335)
Borderou de evaluare (job #2309335)
Raport evaluator
Compilare:
main.cpp: In function 'int bfs()':
main.cpp:45:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:94:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[dest].size();i++)
~^~~~~~~~~~~~~~~
main.cpp:111:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n",sol.size());
^
main.cpp:112:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<sol.size();i++) printf("%d ",sol[i]);
~^~~~~~~~~~~
main.cpp:59:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tournament.in","r",stdin);
^
main.cpp:60:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tournament.out","w",stdout);
^
main.cpp:61:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:62:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&c[i]);
^
main.cpp:66:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&d[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 262kb | OK | 5 | 5 |
2 | 2ms | 262kb | OK | 5 | 5 |
3 | 2ms | 262kb | OK | 5 | 5 |
4 | 2ms | 262kb | OK | 5 | 5 |
5 | 78ms | 4718kb | OK | 5 | 20 |
6 | 193ms | 5898kb | OK | 5 |
7 | 112ms | 5242kb | OK | 5 |
8 | 262ms | 5898kb | OK | 5 |
9 | 152ms | 6029kb | OK | 5 | 20 |
10 | 120ms | 5373kb | OK | 5 |
11 | 87ms | 5111kb | OK | 5 |
12 | 266ms | 6029kb | OK | 5 |
13 | 129ms | 5767kb | OK | 5 | 20 |
14 | 124ms | 5373kb | OK | 5 |
15 | 78ms | 4849kb | OK | 5 |
16 | 241ms | 5898kb | OK | 5 |
17 | 142ms | 5898kb | OK | 5 | 20 |
18 | 76ms | 4456kb | OK | 5 |
19 | 81ms | 4456kb | OK | 5 |
20 | 177ms | 5636kb | OK | 5 |
Punctaj total | 100 |