[{"data":1,"prerenderedAt":1016},["ShallowReactive",2],{"content-\u002Fcompetitive-programming\u002Finput-output":3,"related-\u002Fcompetitive-programming\u002Finput-output":887,"sidebar-content":991},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"tags":10,"date":13,"weight":14,"body":15,"_type":881,"_id":882,"_source":883,"_file":884,"_stem":885,"_extension":886},"\u002Fcompetitive-programming\u002Finput-output","competitive-programming",false,"","Input and Output","Handling input and output in Python for competitive programming.",[11,12],"python","backend","2026-04-10",1,{"type":16,"children":17,"toc":873},"root",[18,27,33,40,54,149,162,440,446,459,525,531,552,757,807,813,867],{"type":19,"tag":20,"props":21,"children":23},"element","h2",{"id":22},"input-and-output-in-python",[24],{"type":25,"value":26},"text","Input and Output in Python",{"type":19,"tag":28,"props":29,"children":30},"p",{},[31],{"type":25,"value":32},"In competitive programming, handling input and output efficiently is crucial. Python provides built-in functions to read from standard input and write to standard output.",{"type":19,"tag":34,"props":35,"children":37},"h3",{"id":36},"reading-input",[38],{"type":25,"value":39},"Reading Input",{"type":19,"tag":28,"props":41,"children":42},{},[43,45,52],{"type":25,"value":44},"You can read input using the ",{"type":19,"tag":46,"props":47,"children":49},"code",{"className":48},[],[50],{"type":25,"value":51},"input()",{"type":25,"value":53}," function, which reads a line of input as a string. For example:",{"type":19,"tag":55,"props":56,"children":59},"pre",{"className":57,"code":58,"language":11,"meta":7,"style":7},"language-python shiki shiki-themes github-light github-dark","name = input(\"Enter your name: \")\nprint(f\"Hello, {name}!\")\n",[60],{"type":19,"tag":46,"props":61,"children":62},{"__ignoreMap":7},[63,102],{"type":19,"tag":64,"props":65,"children":67},"span",{"class":66,"line":14},"line",[68,74,80,86,91,97],{"type":19,"tag":64,"props":69,"children":71},{"style":70},"--shiki-default:#24292E;--shiki-dark:#E1E4E8",[72],{"type":25,"value":73},"name ",{"type":19,"tag":64,"props":75,"children":77},{"style":76},"--shiki-default:#D73A49;--shiki-dark:#F97583",[78],{"type":25,"value":79},"=",{"type":19,"tag":64,"props":81,"children":83},{"style":82},"--shiki-default:#005CC5;--shiki-dark:#79B8FF",[84],{"type":25,"value":85}," input",{"type":19,"tag":64,"props":87,"children":88},{"style":70},[89],{"type":25,"value":90},"(",{"type":19,"tag":64,"props":92,"children":94},{"style":93},"--shiki-default:#032F62;--shiki-dark:#9ECBFF",[95],{"type":25,"value":96},"\"Enter your name: \"",{"type":19,"tag":64,"props":98,"children":99},{"style":70},[100],{"type":25,"value":101},")\n",{"type":19,"tag":64,"props":103,"children":105},{"class":66,"line":104},2,[106,111,115,120,125,130,135,140,145],{"type":19,"tag":64,"props":107,"children":108},{"style":82},[109],{"type":25,"value":110},"print",{"type":19,"tag":64,"props":112,"children":113},{"style":70},[114],{"type":25,"value":90},{"type":19,"tag":64,"props":116,"children":117},{"style":76},[118],{"type":25,"value":119},"f",{"type":19,"tag":64,"props":121,"children":122},{"style":93},[123],{"type":25,"value":124},"\"Hello, ",{"type":19,"tag":64,"props":126,"children":127},{"style":82},[128],{"type":25,"value":129},"{",{"type":19,"tag":64,"props":131,"children":132},{"style":70},[133],{"type":25,"value":134},"name",{"type":19,"tag":64,"props":136,"children":137},{"style":82},[138],{"type":25,"value":139},"}",{"type":19,"tag":64,"props":141,"children":142},{"style":93},[143],{"type":25,"value":144},"!\"",{"type":19,"tag":64,"props":146,"children":147},{"style":70},[148],{"type":25,"value":101},{"type":19,"tag":28,"props":150,"children":151},{},[152,154,160],{"type":25,"value":153},"For multiple inputs, you can use the ",{"type":19,"tag":46,"props":155,"children":157},{"className":156},[],[158],{"type":25,"value":159},"split()",{"type":25,"value":161}," method to separate the input into parts. For example:",{"type":19,"tag":55,"props":163,"children":165},{"className":57,"code":164,"language":11,"meta":7,"style":7},"# Array of Strings input\ndata = input(\"Enter data separated by space: \").split()\nprint(data) # Output: ['data1', 'data2', 'data3']\n\n# Array of integers input\nnumbers = input(\"Enter numbers separated by space: \").split()\nprint(numbers) # Output: ['1', '2', '3']\nnumbers = [int(num) for num in numbers]  # Convert strings to integers\nprint(numbers) # Output: [1, 2, 3]\n\n# Split with a custom delimiter\ndata = input(\"Enter data separated by comma: \").split(',') # Input: data1,data2,data3\nprint(data) # Output: ['data1', 'data2', 'data3']\n",[166],{"type":19,"tag":46,"props":167,"children":168},{"__ignoreMap":7},[169,178,208,226,236,245,275,293,345,362,370,379,424],{"type":19,"tag":64,"props":170,"children":171},{"class":66,"line":14},[172],{"type":19,"tag":64,"props":173,"children":175},{"style":174},"--shiki-default:#6A737D;--shiki-dark:#6A737D",[176],{"type":25,"value":177},"# Array of Strings input\n",{"type":19,"tag":64,"props":179,"children":180},{"class":66,"line":104},[181,186,190,194,198,203],{"type":19,"tag":64,"props":182,"children":183},{"style":70},[184],{"type":25,"value":185},"data ",{"type":19,"tag":64,"props":187,"children":188},{"style":76},[189],{"type":25,"value":79},{"type":19,"tag":64,"props":191,"children":192},{"style":82},[193],{"type":25,"value":85},{"type":19,"tag":64,"props":195,"children":196},{"style":70},[197],{"type":25,"value":90},{"type":19,"tag":64,"props":199,"children":200},{"style":93},[201],{"type":25,"value":202},"\"Enter data separated by space: \"",{"type":19,"tag":64,"props":204,"children":205},{"style":70},[206],{"type":25,"value":207},").split()\n",{"type":19,"tag":64,"props":209,"children":211},{"class":66,"line":210},3,[212,216,221],{"type":19,"tag":64,"props":213,"children":214},{"style":82},[215],{"type":25,"value":110},{"type":19,"tag":64,"props":217,"children":218},{"style":70},[219],{"type":25,"value":220},"(data) ",{"type":19,"tag":64,"props":222,"children":223},{"style":174},[224],{"type":25,"value":225},"# Output: ['data1', 'data2', 'data3']\n",{"type":19,"tag":64,"props":227,"children":229},{"class":66,"line":228},4,[230],{"type":19,"tag":64,"props":231,"children":233},{"emptyLinePlaceholder":232},true,[234],{"type":25,"value":235},"\n",{"type":19,"tag":64,"props":237,"children":239},{"class":66,"line":238},5,[240],{"type":19,"tag":64,"props":241,"children":242},{"style":174},[243],{"type":25,"value":244},"# Array of integers input\n",{"type":19,"tag":64,"props":246,"children":248},{"class":66,"line":247},6,[249,254,258,262,266,271],{"type":19,"tag":64,"props":250,"children":251},{"style":70},[252],{"type":25,"value":253},"numbers ",{"type":19,"tag":64,"props":255,"children":256},{"style":76},[257],{"type":25,"value":79},{"type":19,"tag":64,"props":259,"children":260},{"style":82},[261],{"type":25,"value":85},{"type":19,"tag":64,"props":263,"children":264},{"style":70},[265],{"type":25,"value":90},{"type":19,"tag":64,"props":267,"children":268},{"style":93},[269],{"type":25,"value":270},"\"Enter numbers separated by space: \"",{"type":19,"tag":64,"props":272,"children":273},{"style":70},[274],{"type":25,"value":207},{"type":19,"tag":64,"props":276,"children":278},{"class":66,"line":277},7,[279,283,288],{"type":19,"tag":64,"props":280,"children":281},{"style":82},[282],{"type":25,"value":110},{"type":19,"tag":64,"props":284,"children":285},{"style":70},[286],{"type":25,"value":287},"(numbers) ",{"type":19,"tag":64,"props":289,"children":290},{"style":174},[291],{"type":25,"value":292},"# Output: ['1', '2', '3']\n",{"type":19,"tag":64,"props":294,"children":296},{"class":66,"line":295},8,[297,301,305,310,315,320,325,330,335,340],{"type":19,"tag":64,"props":298,"children":299},{"style":70},[300],{"type":25,"value":253},{"type":19,"tag":64,"props":302,"children":303},{"style":76},[304],{"type":25,"value":79},{"type":19,"tag":64,"props":306,"children":307},{"style":70},[308],{"type":25,"value":309}," [",{"type":19,"tag":64,"props":311,"children":312},{"style":82},[313],{"type":25,"value":314},"int",{"type":19,"tag":64,"props":316,"children":317},{"style":70},[318],{"type":25,"value":319},"(num) ",{"type":19,"tag":64,"props":321,"children":322},{"style":76},[323],{"type":25,"value":324},"for",{"type":19,"tag":64,"props":326,"children":327},{"style":70},[328],{"type":25,"value":329}," num ",{"type":19,"tag":64,"props":331,"children":332},{"style":76},[333],{"type":25,"value":334},"in",{"type":19,"tag":64,"props":336,"children":337},{"style":70},[338],{"type":25,"value":339}," numbers]  ",{"type":19,"tag":64,"props":341,"children":342},{"style":174},[343],{"type":25,"value":344},"# Convert strings to integers\n",{"type":19,"tag":64,"props":346,"children":348},{"class":66,"line":347},9,[349,353,357],{"type":19,"tag":64,"props":350,"children":351},{"style":82},[352],{"type":25,"value":110},{"type":19,"tag":64,"props":354,"children":355},{"style":70},[356],{"type":25,"value":287},{"type":19,"tag":64,"props":358,"children":359},{"style":174},[360],{"type":25,"value":361},"# Output: [1, 2, 3]\n",{"type":19,"tag":64,"props":363,"children":365},{"class":66,"line":364},10,[366],{"type":19,"tag":64,"props":367,"children":368},{"emptyLinePlaceholder":232},[369],{"type":25,"value":235},{"type":19,"tag":64,"props":371,"children":373},{"class":66,"line":372},11,[374],{"type":19,"tag":64,"props":375,"children":376},{"style":174},[377],{"type":25,"value":378},"# Split with a custom delimiter\n",{"type":19,"tag":64,"props":380,"children":382},{"class":66,"line":381},12,[383,387,391,395,399,404,409,414,419],{"type":19,"tag":64,"props":384,"children":385},{"style":70},[386],{"type":25,"value":185},{"type":19,"tag":64,"props":388,"children":389},{"style":76},[390],{"type":25,"value":79},{"type":19,"tag":64,"props":392,"children":393},{"style":82},[394],{"type":25,"value":85},{"type":19,"tag":64,"props":396,"children":397},{"style":70},[398],{"type":25,"value":90},{"type":19,"tag":64,"props":400,"children":401},{"style":93},[402],{"type":25,"value":403},"\"Enter data separated by comma: \"",{"type":19,"tag":64,"props":405,"children":406},{"style":70},[407],{"type":25,"value":408},").split(",{"type":19,"tag":64,"props":410,"children":411},{"style":93},[412],{"type":25,"value":413},"','",{"type":19,"tag":64,"props":415,"children":416},{"style":70},[417],{"type":25,"value":418},") ",{"type":19,"tag":64,"props":420,"children":421},{"style":174},[422],{"type":25,"value":423},"# Input: data1,data2,data3\n",{"type":19,"tag":64,"props":425,"children":427},{"class":66,"line":426},13,[428,432,436],{"type":19,"tag":64,"props":429,"children":430},{"style":82},[431],{"type":25,"value":110},{"type":19,"tag":64,"props":433,"children":434},{"style":70},[435],{"type":25,"value":220},{"type":19,"tag":64,"props":437,"children":438},{"style":174},[439],{"type":25,"value":225},{"type":19,"tag":34,"props":441,"children":443},{"id":442},"writing-output",[444],{"type":25,"value":445},"Writing Output",{"type":19,"tag":28,"props":447,"children":448},{},[449,451,457],{"type":25,"value":450},"You can write output using the ",{"type":19,"tag":46,"props":452,"children":454},{"className":453},[],[455],{"type":25,"value":456},"print()",{"type":25,"value":458}," function. For example:",{"type":19,"tag":55,"props":460,"children":462},{"className":57,"code":461,"language":11,"meta":7,"style":7},"result = 42\nprint(f\"The result is: {result}\")\n",[463],{"type":19,"tag":46,"props":464,"children":465},{"__ignoreMap":7},[466,483],{"type":19,"tag":64,"props":467,"children":468},{"class":66,"line":14},[469,474,478],{"type":19,"tag":64,"props":470,"children":471},{"style":70},[472],{"type":25,"value":473},"result ",{"type":19,"tag":64,"props":475,"children":476},{"style":76},[477],{"type":25,"value":79},{"type":19,"tag":64,"props":479,"children":480},{"style":82},[481],{"type":25,"value":482}," 42\n",{"type":19,"tag":64,"props":484,"children":485},{"class":66,"line":104},[486,490,494,498,503,507,512,516,521],{"type":19,"tag":64,"props":487,"children":488},{"style":82},[489],{"type":25,"value":110},{"type":19,"tag":64,"props":491,"children":492},{"style":70},[493],{"type":25,"value":90},{"type":19,"tag":64,"props":495,"children":496},{"style":76},[497],{"type":25,"value":119},{"type":19,"tag":64,"props":499,"children":500},{"style":93},[501],{"type":25,"value":502},"\"The result is: ",{"type":19,"tag":64,"props":504,"children":505},{"style":82},[506],{"type":25,"value":129},{"type":19,"tag":64,"props":508,"children":509},{"style":70},[510],{"type":25,"value":511},"result",{"type":19,"tag":64,"props":513,"children":514},{"style":82},[515],{"type":25,"value":139},{"type":19,"tag":64,"props":517,"children":518},{"style":93},[519],{"type":25,"value":520},"\"",{"type":19,"tag":64,"props":522,"children":523},{"style":70},[524],{"type":25,"value":101},{"type":19,"tag":34,"props":526,"children":528},{"id":527},"fast-input-and-output",[529],{"type":25,"value":530},"Fast Input and Output",{"type":19,"tag":28,"props":532,"children":533},{},[534,536,542,544,550],{"type":25,"value":535},"In competitive programming, you may need to handle large inputs and outputs efficiently. You can use ",{"type":19,"tag":46,"props":537,"children":539},{"className":538},[],[540],{"type":25,"value":541},"sys.stdin",{"type":25,"value":543}," and ",{"type":19,"tag":46,"props":545,"children":547},{"className":546},[],[548],{"type":25,"value":549},"sys.stdout",{"type":25,"value":551}," for faster input and output. Here's how:",{"type":19,"tag":55,"props":553,"children":555},{"className":57,"code":554,"language":11,"meta":7,"style":7},"import sys\n# Fast input\ninput = sys.stdin.readline\n# Fast output\nprint = sys.stdout.write\n\n# Example of fast input and output\nn = int(input())\nfor _ in range(n):\n    data = input().strip()\n    print(f\"Processed: {data}\\n\")\n",[556],{"type":19,"tag":46,"props":557,"children":558},{"__ignoreMap":7},[559,572,580,598,606,622,629,637,667,693,714],{"type":19,"tag":64,"props":560,"children":561},{"class":66,"line":14},[562,567],{"type":19,"tag":64,"props":563,"children":564},{"style":76},[565],{"type":25,"value":566},"import",{"type":19,"tag":64,"props":568,"children":569},{"style":70},[570],{"type":25,"value":571}," sys\n",{"type":19,"tag":64,"props":573,"children":574},{"class":66,"line":104},[575],{"type":19,"tag":64,"props":576,"children":577},{"style":174},[578],{"type":25,"value":579},"# Fast input\n",{"type":19,"tag":64,"props":581,"children":582},{"class":66,"line":210},[583,588,593],{"type":19,"tag":64,"props":584,"children":585},{"style":82},[586],{"type":25,"value":587},"input",{"type":19,"tag":64,"props":589,"children":590},{"style":76},[591],{"type":25,"value":592}," =",{"type":19,"tag":64,"props":594,"children":595},{"style":70},[596],{"type":25,"value":597}," sys.stdin.readline\n",{"type":19,"tag":64,"props":599,"children":600},{"class":66,"line":228},[601],{"type":19,"tag":64,"props":602,"children":603},{"style":174},[604],{"type":25,"value":605},"# Fast output\n",{"type":19,"tag":64,"props":607,"children":608},{"class":66,"line":238},[609,613,617],{"type":19,"tag":64,"props":610,"children":611},{"style":82},[612],{"type":25,"value":110},{"type":19,"tag":64,"props":614,"children":615},{"style":76},[616],{"type":25,"value":592},{"type":19,"tag":64,"props":618,"children":619},{"style":70},[620],{"type":25,"value":621}," sys.stdout.write\n",{"type":19,"tag":64,"props":623,"children":624},{"class":66,"line":247},[625],{"type":19,"tag":64,"props":626,"children":627},{"emptyLinePlaceholder":232},[628],{"type":25,"value":235},{"type":19,"tag":64,"props":630,"children":631},{"class":66,"line":277},[632],{"type":19,"tag":64,"props":633,"children":634},{"style":174},[635],{"type":25,"value":636},"# Example of fast input and output\n",{"type":19,"tag":64,"props":638,"children":639},{"class":66,"line":295},[640,645,649,654,658,662],{"type":19,"tag":64,"props":641,"children":642},{"style":70},[643],{"type":25,"value":644},"n ",{"type":19,"tag":64,"props":646,"children":647},{"style":76},[648],{"type":25,"value":79},{"type":19,"tag":64,"props":650,"children":651},{"style":82},[652],{"type":25,"value":653}," int",{"type":19,"tag":64,"props":655,"children":656},{"style":70},[657],{"type":25,"value":90},{"type":19,"tag":64,"props":659,"children":660},{"style":82},[661],{"type":25,"value":587},{"type":19,"tag":64,"props":663,"children":664},{"style":70},[665],{"type":25,"value":666},"())\n",{"type":19,"tag":64,"props":668,"children":669},{"class":66,"line":347},[670,674,679,683,688],{"type":19,"tag":64,"props":671,"children":672},{"style":76},[673],{"type":25,"value":324},{"type":19,"tag":64,"props":675,"children":676},{"style":70},[677],{"type":25,"value":678}," _ ",{"type":19,"tag":64,"props":680,"children":681},{"style":76},[682],{"type":25,"value":334},{"type":19,"tag":64,"props":684,"children":685},{"style":82},[686],{"type":25,"value":687}," range",{"type":19,"tag":64,"props":689,"children":690},{"style":70},[691],{"type":25,"value":692},"(n):\n",{"type":19,"tag":64,"props":694,"children":695},{"class":66,"line":364},[696,701,705,709],{"type":19,"tag":64,"props":697,"children":698},{"style":70},[699],{"type":25,"value":700},"    data ",{"type":19,"tag":64,"props":702,"children":703},{"style":76},[704],{"type":25,"value":79},{"type":19,"tag":64,"props":706,"children":707},{"style":82},[708],{"type":25,"value":85},{"type":19,"tag":64,"props":710,"children":711},{"style":70},[712],{"type":25,"value":713},"().strip()\n",{"type":19,"tag":64,"props":715,"children":716},{"class":66,"line":372},[717,722,726,730,735,739,744,749,753],{"type":19,"tag":64,"props":718,"children":719},{"style":82},[720],{"type":25,"value":721},"    print",{"type":19,"tag":64,"props":723,"children":724},{"style":70},[725],{"type":25,"value":90},{"type":19,"tag":64,"props":727,"children":728},{"style":76},[729],{"type":25,"value":119},{"type":19,"tag":64,"props":731,"children":732},{"style":93},[733],{"type":25,"value":734},"\"Processed: ",{"type":19,"tag":64,"props":736,"children":737},{"style":82},[738],{"type":25,"value":129},{"type":19,"tag":64,"props":740,"children":741},{"style":70},[742],{"type":25,"value":743},"data",{"type":19,"tag":64,"props":745,"children":746},{"style":82},[747],{"type":25,"value":748},"}\\n",{"type":19,"tag":64,"props":750,"children":751},{"style":93},[752],{"type":25,"value":520},{"type":19,"tag":64,"props":754,"children":755},{"style":70},[756],{"type":25,"value":101},{"type":19,"tag":28,"props":758,"children":759},{},[760,762,768,770,775,777,783,785,790,792,798,800,805],{"type":25,"value":761},"Using ",{"type":19,"tag":46,"props":763,"children":765},{"className":764},[],[766],{"type":25,"value":767},"sys.stdin.readline",{"type":25,"value":769}," is faster than ",{"type":19,"tag":46,"props":771,"children":773},{"className":772},[],[774],{"type":25,"value":51},{"type":25,"value":776},", and using ",{"type":19,"tag":46,"props":778,"children":780},{"className":779},[],[781],{"type":25,"value":782},"sys.stdout.write",{"type":25,"value":784}," can be more efficient than ",{"type":19,"tag":46,"props":786,"children":788},{"className":787},[],[789],{"type":25,"value":456},{"type":25,"value":791}," for large outputs. Remember to include a newline character (",{"type":19,"tag":46,"props":793,"children":795},{"className":794},[],[796],{"type":25,"value":797},"\\n",{"type":25,"value":799},") when using ",{"type":19,"tag":46,"props":801,"children":803},{"className":802},[],[804],{"type":25,"value":782},{"type":25,"value":806}," to ensure proper formatting.",{"type":19,"tag":34,"props":808,"children":810},{"id":809},"summary",[811],{"type":25,"value":812},"Summary",{"type":19,"tag":814,"props":815,"children":816},"ul",{},[817,837,849],{"type":19,"tag":818,"props":819,"children":820},"li",{},[821,823,828,830,835],{"type":25,"value":822},"Use ",{"type":19,"tag":46,"props":824,"children":826},{"className":825},[],[827],{"type":25,"value":51},{"type":25,"value":829}," for simple input and ",{"type":19,"tag":46,"props":831,"children":833},{"className":832},[],[834],{"type":25,"value":456},{"type":25,"value":836}," for simple output.",{"type":19,"tag":818,"props":838,"children":839},{},[840,842,847],{"type":25,"value":841},"For multiple inputs, use ",{"type":19,"tag":46,"props":843,"children":845},{"className":844},[],[846],{"type":25,"value":159},{"type":25,"value":848}," to separate them and convert to the desired type.",{"type":19,"tag":818,"props":850,"children":851},{},[852,854,859,860,865],{"type":25,"value":853},"For large inputs and outputs, consider using ",{"type":19,"tag":46,"props":855,"children":857},{"className":856},[],[858],{"type":25,"value":767},{"type":25,"value":543},{"type":19,"tag":46,"props":861,"children":863},{"className":862},[],[864],{"type":25,"value":782},{"type":25,"value":866}," for better performance.",{"type":19,"tag":868,"props":869,"children":870},"style",{},[871],{"type":25,"value":872},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":7,"searchDepth":210,"depth":210,"links":874},[875],{"id":22,"depth":104,"text":26,"children":876},[877,878,879,880],{"id":36,"depth":210,"text":39},{"id":442,"depth":210,"text":445},{"id":527,"depth":210,"text":530},{"id":809,"depth":210,"text":812},"markdown","content:competitive-programming:input-output.md","content","competitive-programming\u002Finput-output.md","competitive-programming\u002Finput-output","md",[888,895,900,905,910,915,920,924,933,939,944,949,954,959,964,972,978,985],{"_path":889,"title":890,"description":891,"tags":892,"date":894},"\u002Fcompetitive-programming\u002Farray-manipulation\u002Ffor-looping","For Looping in Python","Using for loops to manipulate arrays in Python.",[11,12,893],"arrays","2026-03-18",{"_path":896,"title":897,"description":898,"tags":899,"date":894},"\u002Fcompetitive-programming\u002Farray-manipulation\u002Fwhile-looping","While Looping in Python","Using while loops to manipulate arrays in Python.",[11,12,893],{"_path":901,"title":902,"description":903,"tags":904,"date":13},"\u002Fcompetitive-programming\u002Fassignments","Assignments","Assignments in Python for competitive programming.",[11,12],{"_path":906,"title":907,"description":908,"tags":909,"date":13},"\u002Fcompetitive-programming\u002Fdata-type","Data Types","Data types in Python for competitive programming.",[11,12],{"_path":911,"title":912,"description":913,"tags":914,"date":13},"\u002Fcompetitive-programming\u002Fhash-map","Hash Map","Hash map implementation in Python for competitive programming.",[11,12],{"_path":916,"title":917,"description":918,"tags":919,"date":894},"\u002Fcompetitive-programming\u002Fmath-library\u002Fsum","Sum Elements","Using for loops to sum elements in Python.",[11,12,893],{"_path":921,"title":812,"description":922,"tags":923,"date":894},"\u002Fcompetitive-programming\u002Fmath-library\u002Fsummary","Summary of the math library in Python.",[11,12,893],{"_path":925,"title":926,"description":927,"tags":928,"date":932},"\u002Fdocker\u002Fcheat-sheets","Docker Cheat Sheets","Cheat sheets for frequently used Docker commands and concepts",[929,930,931],"docker","devops","infrastructure","2026-05-01",{"_path":934,"title":935,"description":936,"tags":937,"date":938},"\u002Fdocker\u002Fdocker-dasar\u002Fdocker-container","Docker Container","Introduction to Docker containers and their usage",[929,930,931],"2026-03-12",{"_path":940,"title":941,"description":942,"tags":943,"date":938},"\u002Fdocker\u002Fdocker-dasar\u002Fdocker-execution","Docker Execution","Introduction to Docker execution and their usage",[929,930,931],{"_path":945,"title":946,"description":947,"tags":948,"date":938},"\u002Fdocker\u002Fdocker-dasar\u002Fdocker-image","Docker Image","Introduction to Docker images and their usage",[929,930,931],{"_path":950,"title":951,"description":952,"tags":953,"date":938},"\u002Fdocker\u002Fdocker-dasar\u002Fdocker-logging","Docker Logging","Introduction to Docker logging and their usage",[929,930,931],{"_path":955,"title":956,"description":957,"tags":958,"date":938},"\u002Fdocker\u002Fdocker-prerequisites\u002Fdocker-installation","Docker Installation","Introduction to Docker installation and their usage",[929,930,931],{"_path":960,"title":961,"description":962,"tags":963,"date":938},"\u002Fdocker\u002Fresources","Docker Resources","Collection of Docker resources for learning and reference",[929,930,931],{"_path":965,"title":966,"description":967,"tags":968,"date":938},"\u002Fjavascript\u002Fpromises","Promise Patterns","Common JavaScript promise patterns and async\u002Fawait usage",[969,970,971],"javascript","frontend","async",{"_path":973,"title":974,"description":975,"tags":976,"date":894},"\u002Fphp\u002Farrays","PHP Array Functions","Essential PHP array functions and patterns",[977,12,893],"php",{"_path":979,"title":980,"description":981,"tags":982,"date":984},"\u002Fphp\u002Fpatterns\u002Fsingleton","Singleton Pattern","Implementing the singleton pattern in PHP",[977,983,12],"patterns","2026-03-13",{"_path":986,"title":987,"description":988,"tags":989,"date":990},"\u002Fphp\u002Freferences","PHP References (&)","Useful PHP reference snippets and patterns",[977,12],"2026-03-19",[992,993,994,995,996,997,998,1000,1001,1003,1004,1006,1008,1010,1011,1012,1013,1014,1015],{"_path":889,"title":890,"weight":364},{"_path":896,"title":897,"weight":364},{"_path":901,"title":902,"weight":210},{"_path":906,"title":907,"weight":104},{"_path":911,"title":912,"weight":364},{"_path":4,"title":8,"weight":14},{"_path":916,"title":917,"weight":999},20,{"_path":921,"title":812,"weight":364},{"_path":925,"title":926,"weight":1002},100,{"_path":934,"title":935,"weight":999},{"_path":940,"title":941,"weight":1005},22,{"_path":945,"title":946,"weight":1007},21,{"_path":950,"title":951,"weight":1009},23,{"_path":955,"title":956,"weight":364},{"_path":960,"title":961,"weight":14},{"_path":965,"title":966},{"_path":973,"title":974,"weight":14},{"_path":979,"title":980},{"_path":986,"title":987,"weight":104},1777665107882]