Masalah
Buat kembali UI dari program torrent
Diberikan tanpa input, output sebagai berikut:
+----------+----------+----------+
|a.exe |##########|seeding |
+----------+----------+----------+
|b.exe 10% |# |leeching |
+----------+----------+----------+
|c.exe |##########|seeding |
+----------+----------+----------+
|d.exe 20% |## |leeching |
+----------+----------+----------+
|e.exe |##########|seeding |
+----------+----------+----------+
|f.exe 30% |### |leeching |
+----------+----------+----------+
|g.exe |##########|seeding |
+----------+----------+----------+
|h.exe 40% |#### |leeching |
+----------+----------+----------+
|i.exe |##########|seeding |
+----------+----------+----------+
|j.exe 50% |##### |leeching |
+----------+----------+----------+
|k.exe |##########|seeding |
+----------+----------+----------+
|l.exe 60% |###### |leeching |
+----------+----------+----------+
|m.exe |##########|seeding |
+----------+----------+----------+
|n.exe 70% |####### |leeching |
+----------+----------+----------+
|o.exe |##########|seeding |
+----------+----------+----------+
|p.exe 80% |######## |leeching |
+----------+----------+----------+
|q.exe |##########|seeding |
+----------+----------+----------+
|r.exe 90% |######### |leeching |
+----------+----------+----------+
|s.exe |##########|seeding |
+----------+----------+----------+
|t.exe |##########|seeding |
+----------+----------+----------+
|u.exe |##########|seeding |
+----------+----------+----------+
|v.exe |##########|seeding |
+----------+----------+----------+
|w.exe |##########|seeding |
+----------+----------+----------+
|x.exe |##########|seeding |
+----------+----------+----------+
|y.exe |##########|seeding |
+----------+----------+----------+
|z.exe |##########|seeding |
+----------+----------+----------+
kemajuan program adalah:
b=10% d=20% f=30% h=40% j=50% l=60% n=70% p=80% r=90%
Jumlah #
program lintah adalahprogress/10
sisanya semua seeding
dengan progress bar penuh.
Aturan
- Membiarkan dan mengikuti baris baru diizinkan.
- Ruang depan dan belakang dibolehkan selama tidak mengubah bentuk output.
- stdout dan fungsi untuk output diizinkan.
- Kode terpendek dalam byte menang
f.exe
tidak dapat menemukan salinannya di tempat lain.
f.exe
datang dengan f_readme.txt
yang mengatakan, "jalankan sebagai administrator". Kelihatannya mantap.
.exe
dari torrent bukan hal terbaik untuk dilakukan, eh?