Problem rainbowfish
User bribritt
Submission Time 2023-07-28 21:53:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rainbowfish.cpp:14:9: error: ‘wouldnt’ was not declared in this scope
14 | were of(wouldnt, get) {return were(wouldnt.rules+get.rules,wouldnt.so+get.so);}
| ^~~~~~~
rainbowfish.cpp:14:23: error: expected ‘,’ or ‘;’ before ‘{’ token
14 | were of(wouldnt, get) {return were(wouldnt.rules+get.rules,wouldnt.so+get.so);}
| ^
rainbowfish.cpp: In function ‘void range(int, int)’:
rainbowfish.cpp:30:247: error: no match for call to ‘(were {aka std::pair<int, int>}) (__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type, __gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type)’
30 | I(understand,0,you[child]+1) I(never,1,(feeling?love[how][feeling-1]:0)+2) strangers[understand+never][how][feeling]=what(strangers[understand+never][how][feeling], of(this(understand,child,((int)to[chi