diff --git a/content/1_Intro/Code_Conventions.mdx b/content/1_Intro/Code_Conventions.mdx index 1bbc9e4..b33b53c 100644 --- a/content/1_Intro/Code_Conventions.mdx +++ b/content/1_Intro/Code_Conventions.mdx @@ -18,9 +18,8 @@ If you find unrecognizable symbols or functions in `C++` code, note the template - - - + + @@ -69,16 +68,16 @@ if (a == b) { - + -```python +```py if (a == b): a += 1 else b += 1 ``` - + @@ -92,7 +91,7 @@ else -The "template" refers to code that is assumed to be in every file. It is most often used in the context of C++, as C++ templates can generally take advantange of more powerful features and be more customized by each competitor. Don't be afraid to write your own template! The USACO Guide will assume the use of the following template in any C++ Code: +The "template" refers to code that is assumed to be in every file. It is most often used in the context of C++, as C++ templates can generally take advantange of more powerful features and be more customized by each competitor. Don't be afraid to write your own template or don't use one at all! Regardless, The USACO Guide will assume the use of the following template in any C++ Code: See [C++ Tips & Tricks](./cpp-tips).