#611
superstring
Un superstring este un şir infinit format din numere naturale nenule scrise fără spaţii între ele, începând cu 1
: 1223334444...1010...
(fiecare număr x
apare de exact x
ori).
Să se răspundă la T
întrebări de forma: Ce cifră se află în superstring pe poziţia k
?
Urmasii lui Moisil, 2014, Clasa a IX-a
Problema | superstring | Operații I/O |
superstring.in /superstring.out
|
---|---|---|---|
Limita timp | 0.8 secunde | Limita memorie |
Total: 64 MB
/
Stivă 1 MB
|
Id soluție | #49132830 | Utilizator | |
Fișier | superstring.cpp | Dimensiune | 1.43 KB |
Data încărcării | 16 Februarie 2024, 11:12 | Scor / rezultat | 50 puncte |
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | OK. | 5 | 5 | ||
2 | 0 secunde | OK. | 5 | 5 | ||
3 | 0.052 secunde | OK. | 5 | 5 | ||
4 | 0.152 secunde | OK. | 5 | 5 | ||
5 | 0.176 secunde | OK. | 5 | 5 | ||
6 | 0.224 secunde | OK. | 5 | 5 | ||
7 | 0.236 secunde | OK. | 5 | 5 | ||
8 | 0.26 secunde | OK. | 5 | 5 | ||
9 | 0.288 secunde | OK. | 5 | 5 | ||
10 | 0.312 secunde | OK. | 5 | 5 | ||
11 | 0.42 secunde | Raspuns gresit. | 5 | 0 | ||
12 | 0.448 secunde | Raspuns gresit. | 5 | 0 | ||
13 | 0.46 secunde | Raspuns gresit. | 5 | 0 | ||
14 | 0.476 secunde | Raspuns gresit. | 5 | 0 | ||
15 | 0.476 secunde | Raspuns gresit. | 5 | 0 | ||
16 | 0.536 secunde | Raspuns gresit. | 5 | 0 | ||
17 | 0.56 secunde | Raspuns gresit. | 5 | 0 | ||
18 | 0.64 secunde | Raspuns gresit. | 5 | 0 | ||
19 | 0.644 secunde | Raspuns gresit. | 5 | 0 | ||
20 | 0.64 secunde | Raspuns gresit. | 5 | 0 | ||
Punctaj total | 50 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema superstring 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ă.