We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Mathematics
- Geometry
- Points On a Line
- Discussions
Points On a Line
Points On a Line
Sort by
recency
|
50 Discussions
|
Please Login in order to post a comment
For Python3 Platform
int main() { int n; int xfirst; int yfirst; bool h = true; bool v = true;
}
int main() { char* n_endptr; char* n_str = readline(); int n = strtol(n_str, &n_endptr, 10);
}
!/bin/python3
import math import os import random import re import sys
if name == 'main': n = int(input()) H = [] V = []
My javascript solution (two liner, could easily be one):