Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn solve() void {
- comptime var part1 = 0;
- comptime var counter = 0;
- while(counter != 1): (counter += 1) {
- part1 = counter;
- //remove this, and its an error:
- if(false) {}
- }
- return;
- }
- pub fn main() void {
- const solved = comptime solve();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement