#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 | #49065184 | Utilizator | |
Fișier | superstring.cpp | Dimensiune | 1.42 KB |
Data încărcării | 14 Februarie 2024, 10:31 | 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.048 secunde | OK. | 5 | 5 | ||
4 | 0.144 secunde | OK. | 5 | 5 | ||
5 | 0.168 secunde | OK. | 5 | 5 | ||
6 | 0.216 secunde | OK. | 5 | 5 | ||
7 | 0.228 secunde | OK. | 5 | 5 | ||
8 | 0.248 secunde | OK. | 5 | 5 | ||
9 | 0.252 secunde | OK. | 5 | 5 | ||
10 | 0.276 secunde | OK. | 5 | 5 | ||
11 | 0.372 secunde | Raspuns gresit. | 5 | 0 | ||
12 | 0.408 secunde | Raspuns gresit. | 5 | 0 | ||
13 | 0.42 secunde | Raspuns gresit. | 5 | 0 | ||
14 | 0.444 secunde | Raspuns gresit. | 5 | 0 | ||
15 | 0.444 secunde | Raspuns gresit. | 5 | 0 | ||
16 | 0.508 secunde | Raspuns gresit. | 5 | 0 | ||
17 | 0.524 secunde | Raspuns gresit. | 5 | 0 | ||
18 | 0.584 secunde | Raspuns gresit. | 5 | 0 | ||
19 | 0.584 secunde | Raspuns gresit. | 5 | 0 | ||
20 | 0.584 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ă.