Skip to content

Instantly share code, notes, and snippets.

View shashank21j's full-sized avatar

Shashank Sharma shashank21j

View GitHub Profile
@shashank21j
shashank21j / custom.py
Last active December 18, 2018 16:34
HackerRank custom checker
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;