fork(1) download
  1. #include <iostream>
  2. using namespace std;
  5. string tab[5000];
  6. int i=0,j;
  9. int main()
  10. {
  11. while(getline(cin,tab[i]))
  12. {
  14. i++;
  17. }
  18. for(j=0;j<i;j++)
  19. {
  20. cout << j+1 ;
  21. cout <<". [ygo]"+tab[j]+"[/ygo]" << endl;
  22. }
  24. return 0;
  25. }
Success #stdin #stdout 0s 4572KB
Blue-Eyes White Dragon (Starter)
Blue-Eyes White Dragon (LOB)
Blue-Eyes White Dragon (Stone)
Blue-Eyes White Dragon (World)
La Jinn the Mystical Genie of the Lamp
Vorse Raider
Judge Man
X-Head Cannon
Y-Dragon Head
Z-Metal Tank
Blue-Eyes Shining Dragon
The White Stone of Legend
The White Stone of Ancients
Maiden with Eyes of Blue
Protector with Eyes of Blue
Master with Eyes of Blue
Sage with Eyes of Blue
Priestess with Eyes of Blue
Rider of the Storm Winds
Dragon Spirit of White
A-Assault Core
B-Buster Drake
C-Crush Wyvern
Heavy Mech Support Platform
Heavy Mech Support Armor
Vampire Lord
Burst Stream of Destruction
The Flute of Summoning Dragon
The Melody of Awakening Dragon
Card of Demise
Fiend's Sanctuary
Majesty with Eyes of Blue
Enemy Controller
Ring of Defense
Silver's Cry
Beacon of White
Mausoleum of White
The Fang of Critias
Soul Exchange
Ancient Rules
Cost Down
Neutron Blast
Lullaby of Obedience
Spell Reproduction
Crush Card Virus
Crush Card Virus (Alt. Art)
Deck Devastation Virus
Eradicator Epidemic Virus
Full Force Virus
Ring of Destruction
Castle of Dragon Souls
Interdimensional Matter Transporter
Mirror Force
Tyrant Wing
Virus Cannon
Blue-Eyes Ultimate Dragon
Blue-Eyes Twin Burst Dragon
ABC-Dragon Buster
VW-Tiger Catapult
XYZ-Dragon Cannon
Mirror Force Dragon
Tyrant Burst Dragon
Doom Virus Dragon
Dragon Master Knight
Azure-Eyes Silver Dragon
Thunder Dragon
Dark Armed Dragon
Tiger Dragon
Ancient Fairy Dragon
Beelze of the Diabolic Dragons
Dragon Ravine
Dragonic Tactics
Return of the Dragon Lords
Dragon Shrine
Droll & Lock Bird
Ghost Ogre & Snow Rabbit
Ghost Reaper & Winter Cherries
Ash Blossom & Joyous Spring
D.D. Crow
V-Tiger Jet
W-Wing Catapult
Dragunity Dux
Dragunity Legionnaire
Dragunity Phalanx
Number S39: Utopia the Lightning
Fusion Sage
Double Summon
Cards of Consonance
The Monarchs Stormforth
Chain Disappearance
Fiendish Chain
Parrot Dragon
Giant Red Seasnake
Warrior Elimination
Exile of the Wicked
Delinquent Duo
White Hole
Call of the Grave
Anti Raigeki
Just Desserts
Goddess of Sweet Revenge
The King of D.
Destruction Dragon
Dragon Revival Rhapsody
Loop of Destruction
1. [ygo]Blue-Eyes White Dragon (Starter)[/ygo]
2. [ygo]Blue-Eyes White Dragon (LOB)[/ygo]
3. [ygo]Blue-Eyes White Dragon (Stone)[/ygo]
4. [ygo]Blue-Eyes White Dragon (World)[/ygo]
5. [ygo]La Jinn the Mystical Genie of the Lamp[/ygo]
6. [ygo]Vorse Raider[/ygo]
7. [ygo]Judge Man[/ygo]
8. [ygo]X-Head Cannon[/ygo]
9. [ygo]Y-Dragon Head[/ygo]
10. [ygo]Z-Metal Tank[/ygo]
11. [ygo]Blue-Eyes Shining Dragon[/ygo]
12. [ygo]Kaibaman[/ygo]
13. [ygo]The White Stone of Legend[/ygo]
14. [ygo]The White Stone of Ancients[/ygo]
15. [ygo]Maiden with Eyes of Blue[/ygo]
16. [ygo]Protector with Eyes of Blue[/ygo]
17. [ygo]Master with Eyes of Blue[/ygo]
18. [ygo]Sage with Eyes of Blue[/ygo]
19. [ygo]Priestess with Eyes of Blue[/ygo]
20. [ygo]Rider of the Storm Winds[/ygo]
21. [ygo]Dragon Spirit of White[/ygo]
22. [ygo]A-Assault Core[/ygo]
23. [ygo]B-Buster Drake[/ygo]
24. [ygo]C-Crush Wyvern[/ygo]
25. [ygo]Heavy Mech Support Platform[/ygo]
26. [ygo]Heavy Mech Support Armor[/ygo]
27. [ygo]Vampire Lord[/ygo]
28. [ygo]Burst Stream of Destruction[/ygo]
29. [ygo]Polymerization[/ygo]
30. [ygo]The Flute of Summoning Dragon[/ygo]
31. [ygo]The Melody of Awakening Dragon[/ygo]
32. [ygo]Card of Demise[/ygo]
33. [ygo]Fiend's Sanctuary[/ygo]
34. [ygo]Majesty with Eyes of Blue[/ygo]
35. [ygo]Enemy Controller[/ygo]
36. [ygo]Ring of Defense[/ygo]
37. [ygo]Silver's Cry[/ygo]
38. [ygo]Beacon of White[/ygo]
39. [ygo]Mausoleum of White[/ygo]
40. [ygo]The Fang of Critias[/ygo]
41. [ygo]Soul Exchange[/ygo]
42. [ygo]Ancient Rules[/ygo]
43. [ygo]Cost Down[/ygo]
44. [ygo]Neutron Blast[/ygo]
45. [ygo]Lullaby of Obedience[/ygo]
46. [ygo]Shrink[/ygo]
47. [ygo]De-Fusion[/ygo]
48. [ygo]Spell Reproduction[/ygo]
49. [ygo]Crush Card Virus[/ygo]
50. [ygo]Crush Card Virus (Alt. Art)[/ygo]
51. [ygo]Deck Devastation Virus[/ygo]
52. [ygo]Eradicator Epidemic Virus[/ygo]
53. [ygo]Full Force Virus[/ygo]
54. [ygo]Ring of Destruction[/ygo]
55. [ygo]Castle of Dragon Souls[/ygo]
56. [ygo]Interdimensional Matter Transporter[/ygo]
57. [ygo]Mirror Force[/ygo]
58. [ygo]Tyrant Wing[/ygo]
59. [ygo]Cloning[/ygo]
60. [ygo]Virus Cannon[/ygo]
61. [ygo]Blue-Eyes Ultimate Dragon[/ygo]
62. [ygo]Blue-Eyes Twin Burst Dragon[/ygo]
63. [ygo]ABC-Dragon Buster[/ygo]
64. [ygo]VW-Tiger Catapult[/ygo]
65. [ygo]XYZ-Dragon Cannon[/ygo]
66. [ygo]Mirror Force Dragon[/ygo]
67. [ygo]Tyrant Burst Dragon[/ygo]
68. [ygo]Doom Virus Dragon[/ygo]
69. [ygo]Dragon Master Knight[/ygo]
70. [ygo]Azure-Eyes Silver Dragon[/ygo]
71. [ygo]Thunder Dragon[/ygo]
72. [ygo]Dark Armed Dragon[/ygo]
73. [ygo]Tiger Dragon[/ygo]
74. [ygo]Ancient Fairy Dragon[/ygo]
75. [ygo]Beelze of the Diabolic Dragons[/ygo]
76. [ygo]Dragon Ravine[/ygo]
77. [ygo]Dragonic Tactics[/ygo]
78. [ygo]Return of the Dragon Lords[/ygo]
79. [ygo]Dragon Shrine[/ygo]
80. [ygo]Trade-In[/ygo]
81. [ygo]Droll & Lock Bird[/ygo]
82. [ygo]Ghost Ogre & Snow Rabbit[/ygo]
83. [ygo]Ghost Reaper & Winter Cherries[/ygo]
84. [ygo]Ash Blossom & Joyous Spring[/ygo]
85. [ygo]D.D. Crow[/ygo]
86. [ygo]V-Tiger Jet[/ygo]
87. [ygo]W-Wing Catapult[/ygo]
88. [ygo]Dragunity Dux[/ygo]
89. [ygo]Dragunity Legionnaire[/ygo]
90. [ygo]Dragunity Phalanx[/ygo]
91. [ygo]Number S39: Utopia the Lightning[/ygo]
92. [ygo]Raigeki[/ygo]
93. [ygo]Fusion Sage[/ygo]
94. [ygo]Terraforming[/ygo]
95. [ygo]Double Summon[/ygo]
96. [ygo]Cards of Consonance[/ygo]
97. [ygo]The Monarchs Stormforth[/ygo]
98. [ygo]Chain Disappearance[/ygo]
99. [ygo]Fiendish Chain[/ygo]
100. [ygo]Parrot Dragon[/ygo]
101. [ygo]Giant Red Seasnake[/ygo]
102. [ygo]Mikazukinoyaiba[/ygo]
103. [ygo]Warrior Elimination[/ygo]
104. [ygo]Exile of the Wicked[/ygo]
105. [ygo]Delinquent Duo[/ygo]
106. [ygo]White Hole[/ygo]
107. [ygo]Call of the Grave[/ygo]
108. [ygo]Anti Raigeki[/ygo]
109. [ygo]Just Desserts[/ygo]
110. [ygo]Goddess of Sweet Revenge[/ygo]
111. [ygo]The King of D.[/ygo]
112. [ygo]Destruction Dragon[/ygo]
113. [ygo]Dragon Revival Rhapsody[/ygo]
114. [ygo]Loop of Destruction[/ygo]