Skip to content

Commit a62447b

Browse files
committed
fix formatting
1 parent 0f414c8 commit a62447b

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

templates/resolver.go

+9-12
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ class Rand {
7171
7272
// Returns an random int value in the range [from, to] inclusive
7373
int Int(int from, int to) {
74-
if (from == to) return from;
74+
if (from == to) return from;
7575
assert(from < to);
7676
return rand() % (to - from) + from;
7777
}
7878
7979
// Returns an random long long value in the range [from, to] inclusive
8080
long long Long(long long from, long long to) {
81-
if (from == to) return from;
81+
if (from == to) return from;
8282
assert(from < to);
8383
return rand() % (to - from) + from;
8484
}
@@ -166,7 +166,7 @@ class Rand {
166166
167167
return res;
168168
}
169-
};
169+
}
170170
`
171171

172172
const GeneratorTemplate = `
@@ -206,8 +206,9 @@ int main() {
206206
}
207207
`
208208
const JavaTemplate = `
209-
import java.util.*;
209+
210210
import java.io.*;
211+
import java.util.*;
211212
212213
/**
213214
* Made by egor https://github.com/chermehdi/egor.
@@ -216,15 +217,11 @@ import java.io.*;
216217
* {{end}}
217218
*/
218219
public class Main {
219-
void solve(Scanner in, PrintWriter out) {
220-
221-
}
222-
220+
void solve(Scanner in, PrintWriter out) {}
223221
public static void main(String[] args) {
224-
try(Scanner in = new Scanner(System.in);
225-
PrintWriter out = new PrintWriter(System.out)) {
226-
new Main().solve(in, out);
227-
}
222+
try (Scanner in = new Scanner(System.in); PrintWriter out = new PrintWriter(System.out)) {
223+
new Main().solve(in, out);
224+
}
228225
}
229226
}
230227
`

0 commit comments

Comments
 (0)