#4462
Se dă un șir A, ale cărui elemente sunt definite prin relația \( {A}_{i} = {i}^{k} \cdot {2}^{i} \) pentru orice 1 ≤ i, unde K este un număr natural dat. Elementele acestui șir se așează într-o matrice M, formată din L linii și C coloane. Ashima vă cere să răspundeți la Q cerințe de forma: \(l_1\ l_2\ c_1\ c_2\) : care este suma elementelor \(M_{i,j}\) din matricea M astfel încât \(l_1 \leq i\leq l_2\) și \( c_1 \leq j \leq c_2\)?
Lot informatică 2023
| Problema | ashima | Operații I/O |
ashima.in/ashima.out
|
|---|---|---|---|
| Limita timp | 1 secunde | Limita memorie |
Total: 256 MB
/
Stivă 64 MB
|
| Id soluție | #60997185 | Utilizator | |
| Fișier | ashima.cpp | Dimensiune | 1.80 KB |
| Data încărcării | 17 Noiembrie 2025, 09:39 | Scor/rezultat | 0 puncte |
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0 secunde | Exited with error status 52 | 2 | 0 | ||
| 2 | 0 secunde | Exited with error status 10 | 2 | 0 | ||
| 3 | 0 secunde | Exited with error status 10 | 2 | 0 | ||
| 4 | 0 secunde | Exited with error status 32 | 2 | 0 | ||
| 5 | 0 secunde | Exited with error status 32 | 2 | 0 | ||
| 6 | 0 secunde | Exited with error status 57 | 2 | 0 | ||
| 7 | 0 secunde | Exited with error status 32 | 2 | 0 | ||
| 8 | 0 secunde | Exited with error status 55 | 2 | 0 | ||
| 9 | 0 secunde | Exited with error status 32 | 2 | 0 | ||
| 10 | 0 secunde | Exited with error status 32 | 2 | 0 | ||
| 11 | 0 secunde | Exited with error status 32 | 2 | 0 | ||
| 12 | 0 secunde | Exited with error status 32 | 3 | 0 | ||
| 13 | 0 secunde | Exited with error status 55 | 3 | 0 | ||
| 14 | 0 secunde | Exited with error status 57 | 3 | 0 | ||
| 15 | 0 secunde | Exited with error status 55 | 3 | 0 | ||
| 16 | 0 secunde | Exited with error status 32 | 3 | 0 | ||
| 17 | 0 secunde | Exited with error status 56 | 4 | 0 | ||
| 18 | 0 secunde | Exited with error status 50 | 4 | 0 | ||
| 19 | 0 secunde | Exited with error status 53 | 4 | 0 | ||
| 20 | 0 secunde | Exited with error status 54 | 5 | 0 | ||
| 21 | 0 secunde | Exited with error status 56 | 5 | 0 | ||
| 22 | 0 secunde | Exited with error status 57 | 5 | 0 | ||
| 23 | 0 secunde | Exited with error status 50 | 2 | 0 | ||
| 24 | 0 secunde | Exited with error status 51 | 2 | 0 | ||
| 25 | 0 secunde | Exited with error status 53 | 2 | 0 | ||
| 26 | 0 secunde | Exited with error status 50 | 3 | 0 | ||
| 27 | 0 secunde | Exited with error status 57 | 3 | 0 | ||
| 28 | 0 secunde | Exited with error status 56 | 3 | 0 | ||
| 29 | 0 secunde | Exited with error status 49 | 2 | 0 | ||
| 30 | 0 secunde | Exited with error status 50 | 2 | 0 | ||
| 31 | 0 secunde | Exited with error status 54 | 2 | 0 | ||
| 32 | 0 secunde | Exited with error status 51 | 2 | 0 | ||
| 33 | 0 secunde | Exited with error status 57 | 2 | 0 | ||
| 34 | 0 secunde | Exited with error status 57 | 2 | 0 | ||
| 35 | 0 secunde | Exited with error status 49 | 1 | 0 | ||
| 36 | 0 secunde | Exited with error status 51 | 1 | 0 | ||
| 37 | 0 secunde | Exited with error status 52 | 1 | 0 | ||
| 38 | 0 secunde | Exited with error status 53 | 2 | 0 | ||
| 39 | 0 secunde | Exited with error status 56 | 2 | 0 | ||
| 40 | 0 secunde | Exited with error status 48 | 2 | 0 | ||
| Punctaj total | 0 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema ashima face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.