closing.cpp: In function 'int max_score(int, int, int, long long int, std::vector<int>, std::vector<int>, std::vector<int>)':
closing.cpp:7:9: error: 'i' was not declared in this scope
7 | for(i=0;i<n-1;i++)
| ^
closing.cpp:13:13: error: 'cout' was not declared in this scope
13 | cout<<2/0;
| ^~~~
closing.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include "closing.h"
+++ |+#include <iostream>
2 | using namespace std;
closing.cpp:13:20: warning: division by zero [-Wdiv-by-zero]
13 | cout<<2/0;
| ~^~