Pagini recente » Cod sursa (job #2183151) | Cod sursa (job #587739) | Borderou de evaluare (job #3151590) | Borderou de evaluare (job #2265586) | Borderou de evaluare (job #2309321)
Borderou de evaluare (job #2309321)
Raport evaluator
Compilare:
main.cpp: In function 'int bfs()':
main.cpp:38: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:86:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[dest].size();i++)
~^~~~~~~~~~~~~~~
main.cpp:103: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:104: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:52: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:53: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:54:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:55: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:59: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 | Incorect | 0 | 0 |
| 5 | 121ms | 4718kb | Incorect | 0 | 0 |
| 6 | 219ms | 5898kb | Incorect | 0 |
| 7 | 168ms | 5111kb | Incorect | 0 |
| 8 | 270ms | 6029kb | Incorect | 0 |
| 9 | 239ms | 5898kb | Incorect | 0 | 0 |
| 10 | 133ms | 5373kb | Incorect | 0 |
| 11 | 132ms | 5111kb | Incorect | 0 |
| 12 | 276ms | 5898kb | Incorect | 0 |
| 13 | 175ms | 5767kb | Incorect | 0 | 0 |
| 14 | 152ms | 5373kb | Incorect | 0 |
| 15 | 122ms | 4718kb | Incorect | 0 |
| 16 | 270ms | 5898kb | Incorect | 0 |
| 17 | 235ms | 5898kb | Incorect | 0 | 0 |
| 18 | 103ms | 4456kb | Incorect | 0 |
| 19 | 109ms | 4456kb | Incorect | 0 |
| 20 | 204ms | 5636kb | Incorect | 0 |
| Punctaj total | 15 |