Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions java/sprint1_nonfinals/B.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ public class B {
private static boolean checkParity(int a, int b, int c) {
// Ваше решение
}

public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
Expand Down
1 change: 1 addition & 0 deletions java/sprint1_nonfinals/E.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ public class E {
private static String getLongestWord(String text) {
// Ваше решение
}

public static void main(String[] args) throws IOException {
try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
int textLength = readInt(reader);
Expand Down
1 change: 1 addition & 0 deletions java/sprint1_nonfinals/F.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ public class F {
private static boolean isPalindrome(String text) {
// Ваше решение
}

public static void main(String[] args) throws IOException{
try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
String text = reader.readLine();
Expand Down
3 changes: 2 additions & 1 deletion java/sprint1_nonfinals/G.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ public class G {
private static String getBinaryNumber(int n) {
// Ваше решение
}
public static void main(String[] args) {

public static void main(String[] args) throws IOException {
try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
int n = readInt(reader);
System.out.println(getBinaryNumber(n));
Expand Down
3 changes: 2 additions & 1 deletion java/sprint1_nonfinals/H.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ public class H {
private static String sumOfBinaries(String a, String b) {
// Ваше решение
}
public static void main(String[] args) {

public static void main(String[] args) throws IOException {
try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
String a = reader.readLine();
String b = reader.readLine();
Expand Down
1 change: 1 addition & 0 deletions java/sprint1_nonfinals/J.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public class J {
private static List<Integer> factorize(int n) {
// Ваше решение
}

public static void main(String[] args) throws IOException {
try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(System.out))) {
Expand Down