😶🌫️
This file contains 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 command; | |
import java.io.File; | |
public class find { | |
public static void main(String[] args) { | |
if (args.length == 0) System.out.println("please input path ..."); | |
else { | |
find(args[0]); | |
} |
This file contains 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 main | |
import ( | |
"smtp" | |
"log" | |
"fmt" | |
) | |
func main() { | |
/* |
This file contains 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.io.File; | |
public class isdir { | |
public static void main(String[] args) { | |
if (args.length > 0) { | |
File isdir = new File(args[0]); | |
if (isdir.isDirectory()) System.out.println(args[0] + " is Directory."); | |
else System.out.println(args[0] + " is File."); | |
} else { | |
System.out.println("input file or directory."); |
This file contains 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 No3 { | |
public static void main (String [] args) | |
{ | |
Scanner sc = new Scanner (System.in); | |
System.out.print("input: "); | |
int input = Integer.parseInt(sc.nextLine()); | |
char ch; | |
System.out.println("output: "); |
This file contains 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
public class No1 { | |
public static void main(String[] args) { | |
RealMadrid t1 = new RealMadrid(); | |
t1.printInfo(); | |
SwatCat t2 = new SwatCat(); | |
t2.printInfo(); | |
} | |
} |
This file contains 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 Main3 { | |
public static void main(String[] args) { | |
Scanner sc = new Scanner(System.in); | |
int testcase = sc.nextInt(); | |
sc.nextLine(); | |
This file contains 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.Date; | |
import java.util.Scanner; | |
public class Main2 { | |
@SuppressWarnings("deprecation") | |
public static void main(String[] args) { | |
Scanner sc = new Scanner(System.in); | |
Date begin = new Date(); | |
while(true) { | |
String[] date = sc.nextLine().split(" "); |
This file contains 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 main | |
import "fmt" | |
import "reflect" | |
type Test struct { | |
X int | |
Y int | |
} |
This file contains 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
#include<stdio.h> | |
int main() { | |
printf("%d\n", fibonacci(7)); | |
return 0; | |
} | |
int fibonacci(int index) { | |
if (index == 0 || index == 1) return 1; | |
return fibonacci(index - 1) + fibonacci(index - 2); |
This file contains 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
-- phpMyAdmin SQL Dump | |
-- version 3.3.9.2 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: localhost | |
-- Generation Time: Aug 31, 2011 at 11:45 PM | |
-- Server version: 5.5.9 | |
-- PHP Version: 5.3.5 | |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |