-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Indent blocks in initializers of multiple variable declarations.
This fixes the example in the second comment on issue #900, but not the main issue.
- Loading branch information
1 parent
71c3833
commit cce1060
Showing
4 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
>>> | ||
void main() { | ||
final f = stdin.readLineSync, | ||
p = int.parse, | ||
n = p(f()), | ||
ranges = List.generate(n, (_) { | ||
final t = f().split(' '), a = p(t[0]), b = a + p(t[1]); | ||
return [a, b]; | ||
}), | ||
dp = List<int>(n); | ||
} | ||
<<< | ||
void main() { | ||
final f = stdin.readLineSync, | ||
p = int.parse, | ||
n = p(f()), | ||
ranges = List.generate(n, (_) { | ||
final t = f().split(' '), a = p(t[0]), b = a + p(t[1]); | ||
return [a, b]; | ||
}), | ||
dp = List<int>(n); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters