@Quill why don't you have like a drop-down for country code. and three text boxes for the three parts of a phone number. then all you gotta do is check if the textboxes are numbers
Challenge: Print the entire printable ASCII charset, in order.
[space]!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
(Of course, replace space with the actual space character.)
Rules: read closely
No other characters allowed in the output.
Pro...
The CP is hidden if it's higher than any CP that you've caught. This is easily seen when starting out a new game, where all of the starter choices' CPs are hidden, despite being very low.
Tom is going to implement a new programming language of his invention. But before actually starting working on it, he wants to know if his language should be case sensitive or not.
On one hand case insensitivity seems more easy to implement to him, but he worries that it could cause a lack in t...
boolean[] f(int val) {
int length = 0;
for (; length < val; length++, val -= length);
boolean[] set = new boolean[length];
for (int i = 0; val > 0; i++, val--) {
set[i] = true;
}
return set;
}
var totalsize = ((Math.sqrt(1+8*n)-1)/2)|0;
var noftrues = ((Math.sqrt(8*n-7)-1)/2)|0;
Array(noftrues).fill(true).concat(Array(totalsize-noftrues).fill(false))
Basically, it formats to whatever seems best (either as told by the user or by an algorithm), mixes the libraries together into a syntax-flexible language.
The only problem is that it reaches a point where it can't calculate anymore, but I likely won't be running the 100000000th round of Rummy anytime soon. :P
> Gogoat has the ability to sense the feelings of whoever grips its horns; this ability is so acute that it can move as if it and its rider were one being. Wild Gogoat live in mountainous regions and choose their leader by locking horns.