We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40d36ef commit b57909fCopy full SHA for b57909f
src/main/java/com/lzw/solutions/codeforces/p2190B1/Main.java
@@ -28,9 +28,10 @@ private void close() {
28
29
private void solve() throws IOException {
30
int t = Integer.parseInt(in.readLine());
31
- while (t > 0) {
32
- t--;
+ while (t-- > 0) {
33
int n = Integer.parseInt(in.readLine());
+ String s = in.readLine();
34
+ out.println(s);
35
}
36
37
src/main/resources/codeforces/p2190B1/1.in
@@ -0,0 +1,7 @@
1
+3
2
+2
3
+()
4
+8
5
+(()(()))
6
+6
7
+(())()
0 commit comments