Timeline for Tips for golfing in C++
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 3 at 21:12 | comment | added | movatica | ... and if it's worth to spend the 20 characters for using namespace std;. | |
| Apr 2 at 7:15 | comment | added | ceilingcat | Instead of for(auto i=s.begin();i<s.end();i++) consider for(auto i=begin(s);i<end(s);i++) or for(auto i=&s[0];i<&*end(s);i++) if your container supports them. | |
| Mar 30 at 21:01 | history | answered | movatica | CC BY-SA 4.0 |