Modernise and clean up some C++ code.
Start file
std::vector<int> numbers;
numbers.push_back(1337);
numbers.push_back(424242);
numbers.push_back(12345678);
numbers.push_back(3141);
End file
auto numbers = { 1337, 424242, 12345678, 3141 };
1,5c1
< std::vector<int> numbers;
< numbers.push_back(1337);
< numbers.push_back(424242);
< numbers.push_back(12345678);
< numbers.push_back(3141);
---
> auto numbers = { 1337, 424242, 12345678, 3141 };
Unlock
25 remaining solutions by
signing in and submitting your own entry
323 active golfers, 1400 entries
34
02/12/2021 at 05:26PM
35
02/12/2021 at 05:19PM
35
02/12/2021 at 05:24PM
36
02/12/2021 at 05:17PM
37
02/12/2021 at 05:13PM
37
02/12/2021 at 05:15PM
38
02/12/2021 at 05:18PM
39
02/12/2021 at 05:09PM
40
02/12/2021 at 05:07PM
41
02/12/2021 at 04:58PM
42
02/12/2021 at 05:02PM
42
02/12/2021 at 05:05PM
43
02/12/2021 at 04:55PM
44
02/12/2021 at 04:59PM
44
02/12/2021 at 05:00PM
46
02/12/2021 at 04:54PM
47
02/12/2021 at 04:58PM
52
02/12/2021 at 04:48PM
57
02/12/2021 at 04:20PM
60
02/12/2021 at 04:34PM
60
02/12/2021 at 04:53PM
62
02/12/2021 at 04:32PM
68
02/12/2021 at 04:30PM
75
02/12/2021 at 04:17PM
80
02/12/2021 at 04:14PM