static bool isInteger(String s) {
int n = l(s);
if (n == 0) ret false;
int i = 0;
if (s.charAt(0) == '-')
if (++i >= n) ret false;
while (i < n) {
char c = s.charAt(i);
if (c < '0' || c > '9') ret false;
++i;
}
ret true;
}download show line numbers debug dex old transpilations
Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, jozkyjcghlvl, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wtqryiryparv
No comments. add comment