Pregătire informatică · gimnaziu și liceu
Scrie codul. Trimite-l. Vezi punctajul.
Fiecare sursă C++ e compilată și rulată pe toate testele, cu limită de timp și memorie — exact ca la concurs.
Clasa
Etapa
131 probleme disponibile
Cifre în ordine
Antrenament OJI/OLI
Cifre
1s · 64 MB · 10 teste
Clasamentul
Antrenament OJI/OLI
Căutare binară
1s · 64 MB · 10 teste
Codul Gray
Antrenament OJI/OLI
Baze de numerație
1s · 64 MB · 10 teste
Colorarea hărții (ONI 7)
Antrenament ONI · clasa a 7-a
Backtracking
2s · 256 MB · 20 teste
Completează parantezele
Antrenament OJI/OLI
Stivă
1s · 64 MB · 10 teste
Construiește spirala
Antrenament OJI · clasa a 7-a · setul 3
Matrice
1s · 64 MB · 10 teste
Conversie între baze
Antrenament OJI/OLI
Baze de numerație
1s · 64 MB · 10 teste
Descompunere în factori primi
Antrenament OJI/OLI
Divizori
1s · 64 MB · 10 teste
Diagonale paralele
Antrenament OJI/OLI
Matrice
1s · 64 MB · 10 teste
Diversitate maximă
Secvențe (antrenament) · Set 2026
secvențe
2s · 128 MB · 20 teste
Diversitate minimă
Secvențe (antrenament) · Set 2026
secvențe
2s · 128 MB · 20 teste
Două tipuri
Secvențe (antrenament)
Doi pointeri + frecvență
0.3s · 64 MB · 10 teste
Drumul cu suma maximă
Antrenament OJI/OLI
Programare dinamică
1s · 64 MB · 10 teste
Drumul spre casă
Antrenament OLI · clasa a 7-a · setul 3
Simulare
1s · 64 MB · 10 teste
Drumuri în grilă
Antrenament OJI/OLI
Programare dinamică
1s · 64 MB · 10 teste
Echilibru pe distanță lungă
Secvențe (antrenament) · Set 2026
secvențe
2s · 128 MB · 20 teste
Ecuația
Antrenament OJI/OLI
Matematică
1s · 64 MB · 10 teste
Elementul majoritar
Antrenament OJI/OLI
Algoritmi pe șiruri
1s · 64 MB · 10 teste
Elevii la cantină
Antrenament OJI · clasa a 7-a · setul 3
Structuri de date
1s · 64 MB · 10 teste
Etichete care se întâlnesc
Antrenament OJI/OLI · Secvențe 2026
secvențe
2s · 128 MB · 20 teste
Fără trei la rând (ONI 7)
Antrenament ONI · clasa a 7-a
Programare dinamică
2s · 256 MB · 20 teste
Fereastra cu puține zerouri
Secvențe (antrenament) · Set 2026
secvențe
2s · 128 MB · 20 teste
Fereastra cu sumă maximă
Secvențe (antrenament) · Set 2026
secvențe
2s · 128 MB · 20 teste
Fereastra cu sumă minimă
Secvențe (antrenament) · Set 2026
secvențe
2s · 128 MB · 20 teste
Ferestre cu total S
Secvențe (antrenament) · Set 2026
secvențe
2s · 128 MB · 20 teste
Insule
Antrenament OJI/OLI
Fill / BFS
1s · 64 MB · 10 teste
Intervale cu zero
Antrenament OJI/OLI · Secvențe 2026
secvențe
2s · 128 MB · 20 teste
Inversiuni cu valori mici
Antrenament OJI/OLI
Vector de frecvență
1s · 64 MB · 10 teste
Locul în clasament
Antrenament OJI · clasa a 7-a · setul 3
Sortare și căutare
1s · 64 MB · 10 teste
Mărimea subarborilor (ONI 7)
Antrenament ONI · clasa a 7-a
Grafuri
2s · 256 MB · 20 teste
mario
OJI 2026 · clasa 7 · subiect oficial
Subiecte oficiale OJI 2026
0.2s · 32 MB · 35 teste
Mars și întrebări
Secvențe (antrenament)
Mars + sume parțiale
0.5s · 64 MB · 10 teste
Masa rotundă
Antrenament OJI/OLI
Secvențe
1s · 64 MB · 10 teste
Numărul de partiții (ONI 7)
Antrenament ONI · clasa a 7-a
Programare dinamică
2s · 256 MB · 20 teste
Numere cu cifre distincte
Antrenament OJI/OLI
Cifre
1s · 64 MB · 10 teste
Numere de forma 2ˣ·3ʸ
Antrenament OJI/OLI
Matematică
1s · 64 MB · 10 teste
Numere formate din cifrele lui n
Antrenament OJI · clasa a 7-a · setul 3
Cifre
1s · 64 MB · 10 teste
Numere Harshad
Antrenament OJI/OLI
Cifre
1s · 64 MB · 10 teste
Numere prime în interval
Antrenament OJI/OLI
Ciurul lui Eratostene
1s · 64 MB · 10 teste
Numerotarea paginilor
Antrenament OJI/OLI
Matematică
1s · 64 MB · 10 teste
Parcurgere în spirală
Antrenament OJI/OLI
Matrice
1s · 64 MB · 10 teste
Perechi cu suma cel mult X (ONI 7)
Antrenament ONI · clasa a 7-a
Divide et impera
2s · 256 MB · 20 teste
Perechi cu suma dată
Antrenament OJI/OLI
Vector de frecvență
1s · 64 MB · 10 teste
Piatra pe scări
Antrenament OJI · clasa a 7-a · setul 3
Programare dinamică
1s · 64 MB · 10 teste
Plaja
Antrenament OJI/OLI
Doi pointeri
1s · 64 MB · 10 teste
Prim și oglindit prim (ONI 7)
Antrenament ONI · clasa a 7-a
Subprograme
2s · 256 MB · 20 teste
Prima fereastră câștigătoare
Secvențe (antrenament) · Set 2026
secvențe
2s · 128 MB · 20 teste
Produs impar pe interval
Antrenament OJI/OLI · Secvențe 2026
secvențe
2s · 128 MB · 20 teste
Produs par pe interval
Antrenament OJI/OLI · Secvențe 2026
secvențe
2s · 128 MB · 20 teste
Pușculița
Antrenament OJI/OLI
Căutare binară
1s · 64 MB · 10 teste
Radical întreg
Antrenament OJI/OLI
Căutare binară
1s · 64 MB · 10 teste
Restul unui număr mare
Antrenament OJI/OLI
Numere mari
1s · 64 MB · 10 teste
ron
OJI 2024 · clasa VII · subiect oficial
Subiecte oficiale OJI 2024
0.2s · 8 MB · 24 teste
Secvențe cu sumă pară
Antrenament OJI/OLI
Sume parțiale
1s · 64 MB · 10 teste
Secvențe cu total zero
Secvențe (antrenament) · Set 2026
secvențe
2s · 128 MB · 20 teste
Sortare după frecvență
Antrenament OJI/OLI
Sortare
1s · 64 MB · 10 teste
Spectacole
Antrenament OJI/OLI
Greedy
1s · 64 MB · 10 teste
Submulțimi cu suma dată
Antrenament OJI/OLI
Backtracking
1s · 64 MB · 10 teste
Sumă de numere Fibonacci
Antrenament OJI/OLI
Greedy
1s · 64 MB · 10 teste
Suma exactă (pozitive)
Secvențe (antrenament)
Doi pointeri
0.3s · 64 MB · 10 teste
| Problemă | Sursă | Dificultate | Timp | Memorie | Teste |
|---|---|---|---|---|---|
| Cifre în ordine | Antrenament OJI/OLI Cifre | ★★★★★ | 1s | 64 MB | 10 |
| Clasamentul | Antrenament OJI/OLI Căutare binară | ★★★★★ | 1s | 64 MB | 10 |
| Codul Gray | Antrenament OJI/OLI Baze de numerație | ★★★★★ | 1s | 64 MB | 10 |
| Colorarea hărții (ONI 7) | Antrenament ONI · clasa a 7-a Backtracking | ★★★★★ | 2s | 256 MB | 20 |
| Completează parantezele | Antrenament OJI/OLI Stivă | ★★★★★ | 1s | 64 MB | 10 |
| Construiește spirala | Antrenament OJI · clasa a 7-a · setul 3 Matrice | ★★★★★ | 1s | 64 MB | 10 |
| Conversie între baze | Antrenament OJI/OLI Baze de numerație | ★★★★★ | 1s | 64 MB | 10 |
| Descompunere în factori primi | Antrenament OJI/OLI Divizori | ★★★★★ | 1s | 64 MB | 10 |
| Diagonale paralele | Antrenament OJI/OLI Matrice | ★★★★★ | 1s | 64 MB | 10 |
| Diversitate maximă | Secvențe (antrenament) · Set 2026 secvențe | ★★★★★ | 2s | 128 MB | 20 |
| Diversitate minimă | Secvențe (antrenament) · Set 2026 secvențe | ★★★★★ | 2s | 128 MB | 20 |
| Două tipuri | Secvențe (antrenament) Doi pointeri + frecvență | ★★★★★ | 0.3s | 64 MB | 10 |
| Drumul cu suma maximă | Antrenament OJI/OLI Programare dinamică | ★★★★★ | 1s | 64 MB | 10 |
| Drumul spre casă | Antrenament OLI · clasa a 7-a · setul 3 Simulare | ★★★★★ | 1s | 64 MB | 10 |
| Drumuri în grilă | Antrenament OJI/OLI Programare dinamică | ★★★★★ | 1s | 64 MB | 10 |
| Echilibru pe distanță lungă | Secvențe (antrenament) · Set 2026 secvențe | ★★★★★ | 2s | 128 MB | 20 |
| Ecuația | Antrenament OJI/OLI Matematică | ★★★★★ | 1s | 64 MB | 10 |
| Elementul majoritar | Antrenament OJI/OLI Algoritmi pe șiruri | ★★★★★ | 1s | 64 MB | 10 |
| Elevii la cantină | Antrenament OJI · clasa a 7-a · setul 3 Structuri de date | ★★★★★ | 1s | 64 MB | 10 |
| Etichete care se întâlnesc | Antrenament OJI/OLI · Secvențe 2026 secvențe | ★★★★★ | 2s | 128 MB | 20 |
| Fără trei la rând (ONI 7) | Antrenament ONI · clasa a 7-a Programare dinamică | ★★★★★ | 2s | 256 MB | 20 |
| Fereastra cu puține zerouri | Secvențe (antrenament) · Set 2026 secvențe | ★★★★★ | 2s | 128 MB | 20 |
| Fereastra cu sumă maximă | Secvențe (antrenament) · Set 2026 secvențe | ★★★★★ | 2s | 128 MB | 20 |
| Fereastra cu sumă minimă | Secvențe (antrenament) · Set 2026 secvențe | ★★★★★ | 2s | 128 MB | 20 |
| Ferestre cu total S | Secvențe (antrenament) · Set 2026 secvențe | ★★★★★ | 2s | 128 MB | 20 |
| Insule | Antrenament OJI/OLI Fill / BFS | ★★★★★ | 1s | 64 MB | 10 |
| Intervale cu zero | Antrenament OJI/OLI · Secvențe 2026 secvențe | ★★★★★ | 2s | 128 MB | 20 |
| Inversiuni cu valori mici | Antrenament OJI/OLI Vector de frecvență | ★★★★★ | 1s | 64 MB | 10 |
| Locul în clasament | Antrenament OJI · clasa a 7-a · setul 3 Sortare și căutare | ★★★★★ | 1s | 64 MB | 10 |
| Mărimea subarborilor (ONI 7) | Antrenament ONI · clasa a 7-a Grafuri | ★★★★★ | 2s | 256 MB | 20 |
| mario | OJI 2026 · clasa 7 · subiect oficial Subiecte oficiale OJI 2026 | ★★★★★ | 0.2s | 32 MB | 35 |
| Mars și întrebări | Secvențe (antrenament) Mars + sume parțiale | ★★★★★ | 0.5s | 64 MB | 10 |
| Masa rotundă | Antrenament OJI/OLI Secvențe | ★★★★★ | 1s | 64 MB | 10 |
| Numărul de partiții (ONI 7) | Antrenament ONI · clasa a 7-a Programare dinamică | ★★★★★ | 2s | 256 MB | 20 |
| Numere cu cifre distincte | Antrenament OJI/OLI Cifre | ★★★★★ | 1s | 64 MB | 10 |
| Numere de forma 2ˣ·3ʸ | Antrenament OJI/OLI Matematică | ★★★★★ | 1s | 64 MB | 10 |
| Numere formate din cifrele lui n | Antrenament OJI · clasa a 7-a · setul 3 Cifre | ★★★★★ | 1s | 64 MB | 10 |
| Numere Harshad | Antrenament OJI/OLI Cifre | ★★★★★ | 1s | 64 MB | 10 |
| Numere prime în interval | Antrenament OJI/OLI Ciurul lui Eratostene | ★★★★★ | 1s | 64 MB | 10 |
| Numerotarea paginilor | Antrenament OJI/OLI Matematică | ★★★★★ | 1s | 64 MB | 10 |
| Parcurgere în spirală | Antrenament OJI/OLI Matrice | ★★★★★ | 1s | 64 MB | 10 |
| Perechi cu suma cel mult X (ONI 7) | Antrenament ONI · clasa a 7-a Divide et impera | ★★★★★ | 2s | 256 MB | 20 |
| Perechi cu suma dată | Antrenament OJI/OLI Vector de frecvență | ★★★★★ | 1s | 64 MB | 10 |
| Piatra pe scări | Antrenament OJI · clasa a 7-a · setul 3 Programare dinamică | ★★★★★ | 1s | 64 MB | 10 |
| Plaja | Antrenament OJI/OLI Doi pointeri | ★★★★★ | 1s | 64 MB | 10 |
| Prim și oglindit prim (ONI 7) | Antrenament ONI · clasa a 7-a Subprograme | ★★★★★ | 2s | 256 MB | 20 |
| Prima fereastră câștigătoare | Secvențe (antrenament) · Set 2026 secvențe | ★★★★★ | 2s | 128 MB | 20 |
| Produs impar pe interval | Antrenament OJI/OLI · Secvențe 2026 secvențe | ★★★★★ | 2s | 128 MB | 20 |
| Produs par pe interval | Antrenament OJI/OLI · Secvențe 2026 secvențe | ★★★★★ | 2s | 128 MB | 20 |
| Pușculița | Antrenament OJI/OLI Căutare binară | ★★★★★ | 1s | 64 MB | 10 |
| Radical întreg | Antrenament OJI/OLI Căutare binară | ★★★★★ | 1s | 64 MB | 10 |
| Restul unui număr mare | Antrenament OJI/OLI Numere mari | ★★★★★ | 1s | 64 MB | 10 |
| ron | OJI 2024 · clasa VII · subiect oficial Subiecte oficiale OJI 2024 | ★★★★★ | 0.2s | 8 MB | 24 |
| Secvențe cu sumă pară | Antrenament OJI/OLI Sume parțiale | ★★★★★ | 1s | 64 MB | 10 |
| Secvențe cu total zero | Secvențe (antrenament) · Set 2026 secvențe | ★★★★★ | 2s | 128 MB | 20 |
| Sortare după frecvență | Antrenament OJI/OLI Sortare | ★★★★★ | 1s | 64 MB | 10 |
| Spectacole | Antrenament OJI/OLI Greedy | ★★★★★ | 1s | 64 MB | 10 |
| Submulțimi cu suma dată | Antrenament OJI/OLI Backtracking | ★★★★★ | 1s | 64 MB | 10 |
| Sumă de numere Fibonacci | Antrenament OJI/OLI Greedy | ★★★★★ | 1s | 64 MB | 10 |
| Suma exactă (pozitive) | Secvențe (antrenament) Doi pointeri | ★★★★★ | 0.3s | 64 MB | 10 |