Fixing the error in cpp code
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;| Here is a standard template to work with custom checker | |
| ``` | |
| from __future__ import division | |
| import json | |
| from sys import stdin | |
| def check_inputs (inputs, outputs): | |
| #inputs is a "list" of all input files. (Read carefully) | |
| lis = [] # lis is a 0/1 array which means 1 -> testcase success and 0-> test case failed |
Fixing the error in cpp code
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;