Problem rainbowfish
User PlayVoltz
Submission Time 2024-07-01 13:01:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rainbowfish.cpp: In function ‘void dfs(int, int)’:
rainbowfish.cpp:21:36: error: conversion from ‘std::bitset<1005> [1005]’ to non-scalar type ‘std::vector<std::bitset<1005> >’ requested
21 | vector<bitset<1005> > temp=dp[node];
| ~~~~~~~^
rainbowfish.cpp:28:12: error: incompatible types in assignment of ‘std::vector<std::bitset<1005> >’ to ‘std::bitset<1005> [1005]’
28 | dp[node]=temp;
| ^~~~