5 views
25 Jan 2026
A number is given as text. Print INT if it looks like an integer, otherwise FLOAT....
6 views
25 Jan 2026
Given a string, look at the first character. Print DIGIT, LETTER, or OTHER....
5 views
25 Jan 2026
You get an integer code (0..255). Print the character for it....
6 views
25 Jan 2026
Input is one token. Treat '', '0', and 'false' (case-insensitive) as false, everything else as true. Print TRUE or FALSE....
6 views
25 Jan 2026
Print the length of the given string (bytes)....
5 views
25 Jan 2026
Given n numeric tokens, count how many look like integers vs floats (contains '.' or exponent)....
6 views
25 Jan 2026
If the input is a valid integer text (optional sign, digits only) print the number, else print INVALID....
4 views
25 Jan 2026
Convert a binary string to decimal....
6 views
25 Jan 2026
Convert an integer to uppercase hexadecimal (no 0x prefix)....
4 views
25 Jan 2026
Given a line with mixed tokens, add only the numeric ones and print the sum. Print as integer if it is whole....
4 views
25 Jan 2026
Input like 1,234.50. Remove commas and print the number with 2 decimals....
6 views
25 Jan 2026
Given base b (2..36) and string s (digits/letters), convert to decimal....
5 views
25 Jan 2026
Two big non-negative integers are given as strings. Print their sum....
5 views
25 Jan 2026
Compare two big non-negative integers given as strings. Print , or =....
4 views
25 Jan 2026
Given a and b as big integers (a >= b), print a-b....
4 views
25 Jan 2026
Input a b c d meaning a/b + c/d. Print the reduced fraction p q....
5 views
25 Jan 2026
You get a big decimal integer as string. Convert it to binary....
6 views
25 Jan 2026
Convert a binary string (up to 500 bits) into a decimal string....
5 views
25 Jan 2026
Input x and k. Print x rounded to k decimals....
5 views
25 Jan 2026
Input big integer a and digit m (0..9). Print a*m....