Libraryless. Click here for Pure Java version (1595L/11K/35K).
!752 p { makeBot("PN Calc."); } answer { L<S> tok = javaTok(s); if (eq(get(tok, 1), "+")) { BigInteger b = bigint(0); for (int i = 3; i < l(tok); i += 2) b = b.add(bigint(tok.get(i))); ret str(b); } }
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment