Detect Integer or Float

Easy
5 views 25 Jan 2026
A number is given as text. Print INT if it looks like an integer, otherwise FLOAT....

First Character Category

Easy
6 views 25 Jan 2026
Given a string, look at the first character. Print DIGIT, LETTER, or OTHER....

ASCII to Character

Easy
5 views 25 Jan 2026
You get an integer code (0..255). Print the character for it....

Simple Truthy Check

Easy
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....

String Length

Easy
6 views 25 Jan 2026
Print the length of the given string (bytes)....

Count Integers and Floats

Medium
5 views 25 Jan 2026
Given n numeric tokens, count how many look like integers vs floats (contains '.' or exponent)....

Strict Integer Parse

Medium
6 views 25 Jan 2026
If the input is a valid integer text (optional sign, digits only) print the number, else print INVALID....

Binary to Decimal

Medium
4 views 25 Jan 2026
Convert a binary string to decimal....

Decimal to Hex

Medium
6 views 25 Jan 2026
Convert an integer to uppercase hexadecimal (no 0x prefix)....

Sum Only Numeric Tokens

Medium
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....

Parse Money String

Medium
4 views 25 Jan 2026
Input like 1,234.50. Remove commas and print the number with 2 decimals....

Base-N to Decimal

Medium
6 views 25 Jan 2026
Given base b (2..36) and string s (digits/letters), convert to decimal....

Big Integer Addition

Hard
5 views 25 Jan 2026
Two big non-negative integers are given as strings. Print their sum....

Big Integer Comparison

Hard
5 views 25 Jan 2026
Compare two big non-negative integers given as strings. Print , or =....

Big Integer Subtraction

Hard
4 views 25 Jan 2026
Given a and b as big integers (a >= b), print a-b....

Add Fractions

Hard
4 views 25 Jan 2026
Input a b c d meaning a/b + c/d. Print the reduced fraction p q....

Big Decimal to Binary

Hard
5 views 25 Jan 2026
You get a big decimal integer as string. Convert it to binary....

Big Binary to Decimal

Hard
6 views 25 Jan 2026
Convert a binary string (up to 500 bits) into a decimal string....

Round to K Decimals

Hard
5 views 25 Jan 2026
Input x and k. Print x rounded to k decimals....

Big Multiply by Digit

Hard
5 views 25 Jan 2026
Input big integer a and digit m (0..9). Print a*m....