Problem packingducks
User aiden
Submission Time 2025-12-10 20:24:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

packingducks.cpp: In function ‘int main()’:
packingducks.cpp:29:17: error: no match for ‘operator%=’ (operand types are ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} and ‘int’)
29 | cout << ans %= 1000000007;
| ~~~~~~~~~~~~^~~~~~~~~~~~~