🚀
ArkyEdu SANDBOX
RO Launch Live Editor
Debug Vizual C++ · RAM & Vectori Arena Olimpiada TIC (12 Probleme) C++17 · Python 3 · HTML5 (9 Teste)

C++ Visual Trace Debugger, Code Sandbox & ICT Olympiad

Step-by-step C++ RAM & array trace debugger with breakpoints, 12-problem ICT Olympiad Arena (5-test judge), Python 3 & HTML5/CSS directly in your browser.

12 Progressive ICT Olympiad Problems (OJI & National)

Initiation · Gr 5–6 · O(log₁₀ n)

01. Digit Sum & Parity Analysis

Given a positive integer n, compute the sum of its even digits and the total number of digits of n, separated by a single space....

Solve & Trace →
Initiation · Gr 5–6 · O(1)

02. Valid Triangle & Classification

Given three positive integer side lengths a, b, c, print "ECHILATERAL" if equilateral, "ISOSCEL" if isosceles, "SCALEN" if scalene, or "INVA...

Solve & Trace →
School · Gr 7 · O(log₁₀ n)

03. Mirror Number & Palindrome Check

Given a natural number n, build its reversed number. Print the reversed number on the first line, and "DA" if n is a palindrome or "NU" othe...

Solve & Trace →
School · Gr 7 · O(log₁₀ n)

04. Maximum Digit & Frequency

For a given non-negative integer n, find its largest decimal digit and how many times that digit appears....

Solve & Trace →
School · Gr 7 · O(log min(a, b))

05. GCD & LCM via Euclidean Algorithm

Given two positive integers a and b, use the Euclidean division algorithm to compute their Greatest Common Divisor (GCD) and Least Common Mu...

Solve & Trace →
County OJI · Gr 8 · O(√n)

06. Divisor Count & Prime Test O(√n)

Given n >= 1, compute the total number of positive divisors of n in O(√n) time, followed by a space and "PRIM" if prime, "NEPRIM" if n == 1,...

Solve & Trace →
County OJI · Gr 8 · O(n)

07. Longest Strictly Increasing Contiguous Subarray

Given n followed by n integers, find the maximum length of a contiguous strictly increasing subarray....

Solve & Trace →
County OJI · Gr 8 · O(n²)

08. Bubble Sort & Array Median

Given an odd integer n and n integers in an array v, sort the array ascending. Print the sorted array on line 1, and its median element (v[n...

Solve & Trace →
County OJI · Gr 8 · O(log n)

09. Binary Search in Sorted Array

Given n, n strictly ascending integers (0-indexed), and target x, print the index of x (0..n-1) using O(log n) binary search, or -1 if absen...

Solve & Trace →
National · CS Track · O(n log log n)

10. Sieve of Eratosthenes & Prime Count <= N

Given n (2 <= n <= 400), build the Sieve of Eratosthenes to count how many prime numbers exist in [2, n] and also print the largest prime <=...

Solve & Trace →
National · CS Track · O(n)

11. Maximum Subarray Sum (Kadane O(n))

Given n and n integers (including negatives), find the maximum possible sum of a non-empty contiguous subarray in O(n) time....

Solve & Trace →
National · CS Track · O(n)

12. Circular Array Rotation by K Steps O(n)

Given n, k, and n integers, rotate the array RIGHT by k positions in O(n) time (handling k >= n cleanly) and print the rotated elements sepa...

Solve & Trace →

9 Built-In Curriculum Challenges + Free Playground

cpp · Grade 7

Swap Two Numbers (Three Glasses Rule)

Read two integers a and b, swap their values using a helper variable aux, and print them separated by a space.

Solve in Sandbox → Theory
cpp · Grades 7–8

Sum of Digits with while (n % 10 and n / 10)

Read a natural number n and compute the sum of its digits using a while loop, modulo % 10, and integer division / 10.

Solve in Sandbox → Theory
cpp · Grade 8

Prime Number Check (DA / NU)

Read an integer n and output DA if n is prime, or NU otherwise (watch out for n < 2!).

Solve in Sandbox → Theory
cpp · Grade 8

Count Even Numbers in an Array

Read n followed by n array elements into v, then print how many of them are even (divisible by 2).

Solve in Sandbox → Theory
python · Grades 6–7

Python: Even or Odd (% modulo)

Read an integer n with int(input()) and print PAR if divisible by 2, or IMPAR otherwise.

Solve in Sandbox → Theory
python · Grade 7

Python: Sum 1..n (for + range)

Read n and compute 1 + 2 + ... + n using a for i in range(1, n + 1) loop.

Solve in Sandbox → Theory
python · Grades 7–8

Python: Grade Average with Lists

Read the count k followed by k grades on separate lines. Append them to a list and print the integer average using round(sum(note) / len(note)).

Solve in Sandbox → Theory
html · Grade 8

HTML5 & CSS: Student Profile Card

Build an HTML5 card with a main <h1> heading, a <ul> list of 3 hobbies, and an <a> link styled with CSS (border-radius and background).

Solve in Sandbox → Theory
html · Grade 8

HTML5 & CSS: School Timetable Table

Create a semantic <table> with <thead> (<tr><th>) and at least 3 class rows in <tbody> (<tr><td>), cleanly styled with CSS.

Solve in Sandbox → Theory