sonquanpdp2025's blog

By sonquanpdp2025, history, 60 minutes ago, In English

Some simple C++ tips for beginners:

1 Use long long when values can be large.
2 Always check edge cases.
3 Read the constraints before choosing an algorithm.
4 Avoid O(n²) when n can be very large.
5 Test your solution with small cases before submitting.

Good luck and have fun coding!

  • Vote: I like it
  • -4
  • Vote: I do not like it

»
60 minutes ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by sonquanpdp2025 (previous revision, new revision, compare).

»
60 minutes ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by sonquanpdp2025 (previous revision, new revision, compare).