Last active
November 21, 2022 14:05
-
-
Save ivandashk/2ad5eb4559ba0e2a418e2b94d3e4c10d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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