[Tutorial] CoLoR format the Code!

Really quick tutorial for all forum members who dont know how to color format code like this which i learned from another site.

just use 3 backticks ``` before and after the code and your code looks like this :point_down::point_down::point_down:

CPP :

    #include <iostream>
    using namespace std;

    int main() {
    	for(int i=0 ; i < 10 ;++i) {
    		cout << i <<" - hello world\n";
    	}
    	return 0;
    }

Python :

# Python 3 program to find 
# factorial of given number 
def factorial(n): 
	return 1 if (n==1 or n==0) else n * factorial(n - 1); 

num = 5; 
print("Factorial of",num,"is", 
factorial(num)) 
16 Likes
PIZZA DELIVERY DP PROBLEM
Merge Two Sorted Linked List
FIBEASY - Editorial
FIBEASY Matrix Exponentiation Solution? O(lgn) (edit: this solution failed for subcase 3 Yet I am producing right answers?)
Problem Code HIT
August LunchTime 2019 Eidi gift
Equals() method is not working / always giving FALSE
Showing wrong answer (CLEANUP)
Problem Code: COPS
Can anyone tell why am i getting run time error in this code? (CDUTSV01)
ATM-NZEC Error
Practice Beginner Level - ATM challenge
Unexpected output of a very simple program
TLE in "Mod in an Array" (MOD)
How to add a code in a comment on codechef discuss?
WA in USANBOLT
WA in "To and Fro" (PD33)
WA in FLOW005
WHY I AM GETTING WRONG ANS FOR CHEALG
Safe Robots wrong answer (SAFEROBO)
LEBOMBS - Editorial
CHNGIT - Editorial
Please help me in finding nzec error in java code(Problem Crash It(CRSHIT) )
I m new to coding , i got this error java.util.NoSuchElementException while i m executing help me why this error shows
CHNGIT - Editorial
Good practice for asking help
PLEASE HELP!
Showing wrong answer (CLEANUP)
CSUB - Editorial
Can anyone please help me with this problem: MAY19F1 of contest FLPAST01
http://codeforces.com/contest/1278/problem/B for this my solution in giving TLE . can you help me out?
Wa error in my programme
Problem with BINXOR? December long challenge
COPS - Editorial
NZEC error PLMU
Whats wrong with this code? (BINADD)
Help for bst operation (BSTOPS)
Problem in program
CSUB - Editorial
NOT ABLE TO SUBMIT A SUCCESSFULLY RUNNING CODE IN BASH (UNIX)
Am i missing any test case?
CHAR FUNCTION WITH RETURN
Strstr() in with 2d and 1d array in c++
I am getting TLE and SIGSTP I dont know why
Help in modulo operator
Count Substrings | CodeChef
Please Help Me!
Help in Codeforces problem a
What is wrong with my code -- Little Elephant and Candies
NZEC error in the code
I am getting NEZEC error
ZCO15004 solution not accepted
Segmentation error
Unable to solve TRAINSET problem in codechef
Signature (HELP)
Casey And Gifts
Practice Beginner PROXYC problem with code
WA on 3 out of 6 cases in Chef and maximum Coloring CAMC
FAILURE - Editorial
How to reduce time complexity!
Second Largest | CodeChef
Any please tell me whats wrong in this code for lead game please
Getting tle (EN123)
LAPIN - Editorial
CKWLK - Editorial
I am getting compilation error in this code
Why am I getting WA? (DOR)
Whats wrong with my code--NOKIA(https://www.codechef.com/problems/NOKIA)
Why does it give Exceptions (MSV)
Spam classification using neural net (SPAMCLAS)
MARM - Editorial
MARM - Editorial
Even edges (getting tle in one case of 2nd subtask)
Why giving nrez error BACREP
Please explain why am i getting a SIGSEGV error. I am getting the correct output though
FIBEASY : can someone help me about my code , however it"s working but On submission it shows WA
Getting sigcont error can any one explain why
Why this code is executing 'cin' statement infinite times
FIBEASY answer keeps showing TLE
What is the fault in this code?
Getting NZEC
Can someone find error in this code
CANDY123 - Editorial
Help with vectors
Not Able to understand why still the submission is failing? (LECANDY)
CHEFINSQ - Editorial
I am getting wrong answer (CLEANUP)
CHEFINSQ - Editorial
FIBEASY - Editorial
Getting wrong output in palindrome program
Problem In "REVERSE THE NUMBER" at beginner level
The output of the program matches the gives test case and i have increased the test cases too yet my program is giving error in submission plz help
Why is my code giving runtime error
What is the mistake in this factorial program .codechef is not accepting this code.helpmeout
Adjacency matrix representation in cpp
Help! LONGSEQ
EID2 - Editorial
Time Complexity
TRIP2 - Editorial
EID2 - Editorial
EID2 - Editorial
TRIP2 - Editorial
What's wrong with my code
Problem -->> EIDI GIFT
RAINBOWA - Editorial
WA in Polynomial multiplication (POLMUL)
WA in Polynomial multiplication (POLMUL)
WA - Problem Code: COMPILER
RE (SIGSEV) in SMPAIR
Wrong Answer despite correct output I tried every possible test case Problem :https://www.codechef.com/problems/CHEALG

I dont think so its working fine