Skip to content

Instantly share code, notes, and snippets.

@ivandashk
Last active November 21, 2022 14:05
Show Gist options
  • Save ivandashk/2ad5eb4559ba0e2a418e2b94d3e4c10d to your computer and use it in GitHub Desktop.
Save ivandashk/2ad5eb4559ba0e2a418e2b94d3e4c10d to your computer and use it in GitHub Desktop.
function solve() {
var input = rlsn();
return input;
}
// ===========
var T = rlsn();
while (T--) {
var result = solve();
cl(result);
}
function cl(s) {print(s)}
function clObj(obj) {print(JSON.stringify(obj))}
function rlsn() {return Number(readline());}
function rlarrstr() {return readline().split(' ');}
function rlarrn() {return rlarrstr().map(Number);}
function makeFreqMap(str) {const m={};for (var char of str) m[char]=m[char]+1||1;return m;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment