top of page

게시판 게시물

ellakim
2019년 6월 25일
In 소스 코드 제출
////import java.util.*; ////import java.util.Scanner; //// ////public class Main { ////public static void main(String[] args) { //// Scanner t = new Scanner (System.in); //// int a[] = new int[5]; //// int kor[] = new int[5]; //// int math[] = new int[5]; //// int eng[] = new int[5]; //// //// for(int i =0; i<5; i++) { //// a[i] = t.nextInt(); //// kor[i] = t.nextInt(); //// math[i] = t.nextInt(); //// eng[i] = t.nextInt(); //// //// System.out.print("kor"); //// System.out.print("math"); //// System.out.print("eng"); //// } ////} ////} // // // //import java.util.*; // //class student { // int a; // int sub[]; // double k; // // // constructor // student() { // sub = new int[10]; // } // // method overloading // student(int k) { // sub = new int[k]; // } // // void input() { // a = 5505; // } // // method overloading // int CalcuPlus(int a, int b) { // return a+b; // } // double CalcuPlus(double a, int b) { // return a+b; // } // double CalcuPlus(int a, double b) { // return a+b; // } // int CalcuPlus(int a, int b, int c) { // return a+ +b +c; // } // // Apply Ideas Let's Solve 2 Q; // // method overloaing //} // //public class Main { // public static void main(String[] args) { // Scanner t = new Scanner(System.in); // // /////////////////////// // student gk = new student(/* here is conttructor*/); // student sn = new student(); // /////////////////////// // // 100, 500, 1000 // System.out.println(gk.sub.length); // // gk.input(); // played input method // System.out.println(gk.a); // } //} // /////////////////////////////////////// //// int -2^31 ~ +2^31-1 // -2147 ~ +21 //// 100억 데이터 //// long < -2~^63 ~ +2^63-1 // 100 //// using Arrays << // Add method //// import java.util.*; public class Main { public static void main(String[] args) { Scanner t= new Scanner(System.in); //String str = t.next(); // don't add space bar // word //String str = t.nextLine(); // add space bar // string String str = t.next(); System.out.println(str.length()); // hint : input String variable, change int array and final > calculated. // of course, using Class << } }
0
0
2
ellakim
2019년 6월 22일
In 소스 코드 제출
// //public class Main { // public static void main(String[] args) { // System.out.print("Hello world\n"); // // System.out.println("hello there"); // System.out.print("-0---0-0-----"); // System.out.printf("%.3f", 3.141592); // System.out.println("aslkdjaslkdj"); // System.out.println(5+" "+6); // } ////} // ctrl + / // //public class Main { // public static void main(String[] args) { // System.out.println("Hello"); // } //} //public class Main { // public static void main(String[] args) { // System.out.print("Hello World"); // } ////} //public class Main { // public static void main(String[] args) { // System.out.print("Hello\n"); // System.out.print("World"); // } //} //public class Main { // public static void main(String[] args) { // System.out.print("'Hello'"); // } // //} //public class Main { // public static void main(String[] args) { // System.out.print("\"Hello World\""); // } //} //public class Main { // public static void main(String[] args) { // System.out.println("\"!@#$%^&*()\""); // } // //} //public class Main { // public static void main(String[] args) { // System.out.print("\"C:\\Download\\hello.cpp\""); // } //} //import java.util.Scanner; // //public class Main { // public static void main(String[] args) { // Scanner t = new Scanner(System.in); // // int k = t.nextInt(); // int p = t.nextInt(); // System.out.println(k%p); // } //} // 산술연산자, 논리연산자, 비트 연산자, 비트 시프트 연산자 // 삼항연산자 //import java.util.Scanner ; // //public class Main { // public static void main(String[] args) { // Scanner t = new Scanner(System.in); // // int k = t.nextInt(); // System.out.println(k); // } // //} //import java.util.*; // //public class Main { // public static void main(String[] args) { // Scanner t = new Scanner(System.in); // // char a = t.next().charAt(0); // System.out.println(a); // // } //} //import java.util.*; //public class Main { // public static void main(String[] args) { // Scanner t = new Scanner(System.in); // // char a = t.next().charAt(0); // System.out.print(a); // // } //} // //import java.util.*; //public class Main { // public static void main(String[]args) { // Scanner t = new Scanner(System.in); // // double a = t.nextDouble(); // System.out.printf("%.6f", a); // // // } //} // //import java.util.*; //public class Main { // public static void main(String[]args) { // Scanner t = new Scanner(System.in); // // int a = t.nextInt(); // int b = t.nextInt(); // System.out.println(a+" "+b); // } // //} // //import java.util.*; //public class Main { // public static void main(String[]args) { // Scanner t = new Scanner(System.in); // // int a = t.nextInt(); // int b = t.nextInt(); // System.out.println(a+ b); // // } //} //import java.util.*; //public class Main { // public static void main(String[]args) { // Scanner t = new Scanner(System.in); // // long a = t.nextLong(); // long b = t.nextLong(); // System.out.println(a + b); // } //} //import java.util.*; //public class Main { // public static void main(String[] args) { // Scanner t = new Scanner(System.in); // // int a =t.nextInt(); // int b =t.nextInt(); // System.out.println(a % b); // } //} //import java.util.*; //public class Main { // public static void main(String[] args) { // Scanner t = new Scanner(System.in); // // int a = t.nextInt(); // int b = t.nextInt(); // System.out.println(a & b); // } //} //import java.util.*; //public class Main { // public static void main(String[] args) { // Scanner t = new Scanner(System.in); // // int a = t.nextInt(); // int b = t.nextInt(); // System.out.println(a ^ b); // //} //} // //import java.util.*; //public class Main { // public static void main(String[]args) { // Scanner t = new Scanner(System.in); // // int a = t.nextInt(); // int b = t.nextInt(); // System.out.println(a | b); // } //} //import java.util.*; // //public class Main { // public static void main(String[] args) { // Scanner t = new Scanner(System.in); // // int a = 11; // // if(a > 15 && a< 1000) { // System.out.println("true"); // if(a < 100 ) { // System.out.println("AAAA"); // } // else { // System.out.println("BBBB"); // } // } // else if(a%2==0) { // System.out.println("Double"); // } // else if(a<100) { // System.out.println("aslkdjaslkd"); // } // else { // System.out.println("error"); // } // } //} //import java.util.*; // //public class Main { // public static void main(String[] args) { // Scanner t = new Scanner(System.in); // // int a = 11; // // switch(a/10) { // case 1: // System.out.println("A"); // break; // case 2: // System.out.println("B"); // break; // case 3: // System.out.println("C"); // break; // default: // System.out.println("ZZ"); // } // // } //}
0
0
3

ellakim

더보기
bottom of page