This file contains hidden or 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
| package com.haruple97.intent_opensource; | |
| import androidx.appcompat.app.AppCompatActivity; | |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import android.view.View; | |
| import android.widget.Button; | |
| import android.widget.TextView; |
This file contains hidden or 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
| package com.haruple97.intent_opensource; | |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import androidx.appcompat.app.AppCompatActivity; | |
| public class SubActivity extends AppCompatActivity { | |
| @Override |
This file contains hidden or 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
| <?xml version="1.0" encoding="utf-8"?> | |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| tools:context=".MainActivity" | |
| android:orientation="vertical" | |
| android:gravity="center"> |
This file contains hidden or 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
| package baekjoon; | |
| import java.util.Scanner; | |
| public class Baekjoon { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| int A = sc.nextInt(); |
This file contains hidden or 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
| class Solution { | |
| public String solution(String new_id) { | |
| // 1๋จ๊ณ. ์๋ฌธ์๋ก ์นํ | |
| new_id = new_id.toLowerCase(); | |
| // 2๋จ๊ณ. ์๋ฌธ์ ์ซ์ - _ . ์ ์ธํ ๋ชจ๋ ๋ฌธ์ ์ ๊ฑฐ | |
| String id = ""; | |
| for(int i=0; i<new_id.length(); i++){ | |
| char ch = new_id.charAt(i); //ํ๋ฌธ์์ ์ฝ๊ธฐ |
This file contains hidden or 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
| package baekjoon; | |
| import java.util.Scanner; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| //N, X ์ ๋ ฅ | |
| int N = sc.nextInt(); |
This file contains hidden or 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
| import java.util.Scanner; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| int[] arr; //์ ์ ๋ฐฐ์ด | |
| //ํ ์คํธ ์ผ์ด์ค์ ๊ฐ์ |
This file contains hidden or 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
| import java.util.Scanner; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| int[] arr; //์ ์ ๋ฐฐ์ด | |
| //ํ ์คํธ ์ผ์ด์ค์ ๊ฐ์ |
This file contains hidden or 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
| import java.util.Scanner; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| int t = sc.nextInt(); | |
| String str; |
This file contains hidden or 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
| import java.util.Scanner; | |
| public class { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| int A = sc.nextInt(); | |
| int B = sc.nextInt(); |
OlderNewer