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
| <span class="infocard-tall "><a class="pkg " data-sprite=" pkgG1 n1 " href="/pokedex/bulbasaur"></a><br><small>#001</small><br><a class="ent-name" href="/pokedex/bulbasaur">Bulbasaur</a><br><small class="aside"><a href="/type/grass" class="itype grass">Grass</a> · <a href="/type/poison" class="itype poison">Poison</a></small></span> | |
| <span class="infocard-tall "><a class="pkg " data-sprite=" pkgG1 n2 " href="/pokedex/ivysaur"></a><br><small>#002</small><br><a class="ent-name" href="/pokedex/ivysaur">Ivysaur</a><br><small class="aside"><a href="/type/grass" class="itype grass">Grass</a> · <a href="/type/poison" class="itype poison">Poison</a></small></span> | |
| <span class="infocard-tall "><a class="pkg " data-sprite=" pkgG1 n3 " href="/pokedex/venusaur"></a><br><small>#003</small><br><a class="ent-name" href="/pokedex/venusaur">Venusaur</a><br><small class="aside"><a href="/type/grass" class="itype grass">Grass</a> · <a href="/type/poison" class="itype poison">Poison</a></small></span> | |
| <span c |
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
| public static ArrayList < String > getHTML(String urlToRead) { | |
| ArrayList < String > files = new ArrayList < String >(); | |
| URL url; HttpURLConnection conn; BufferedReader rd; String line; try { | |
| url = new URL(urlToRead); | |
| conn = (HttpURLConnection)url.openConnection(); | |
| conn.setRequestMethod("GET"); | |
| rd = new BufferedReader(new InputStreamReader(conn.getInputStream())); | |
| while ((line = rd.readLine()) != null) { | |
| files.add(line); | |
| } |
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.io.IOException; | |
| import org.jsoup.Jsoup; | |
| import org.jsoup.nodes.Document; | |
| import org.jsoup.nodes.Element; | |
| import org.jsoup.select.Elements; | |
| class JSoupParsing { | |
| public static void main(String[] args){ | |
| Document doc = null; |
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
| // | |
| // main.cpp | |
| // BOJ | |
| // | |
| // Created by MacBook Air on 2015. 10. 16.. | |
| // Copyright (c) 2015년 MacBook Air. All rights reserved. | |
| // | |
| #include <iostream> | |
| #include <vector> |
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
| public class Busreserve { //메인 클래스 | |
| public static void main(String[] args) {//메인 매소드 | |
| HashMap<String, Integer> map = new HashMap<String, Integer>(); | |
| /* | |
| ReservedInfo si = new ReservedInfo();//si객체 생성 | |
| new StartFrame(); //생성자 호출 | |
| */ | |
| try { | |
| Scanner busInfo = new Scanner(new File("ReservedInfo/BusInfo.txt")); // 파일을 가져오고 |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Data; | |
| using System.Drawing; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.Windows.Forms; | |
| using System.Text.RegularExpressions; |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Data; | |
| using System.Drawing; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.Windows.Forms; |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace CSharpApplication1 | |
| { | |
| class C | |
| { |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Data; | |
| using System.Drawing; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.Windows.Forms; |
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
| int minDay = 987654321; | |
| for (int i = X; i >= 1; i--) { | |
| int addLine = i; | |
| int pyramidSum = 0; | |
| while (addLine >= 1 && X > pyramidSum) { | |
| pyramidSum += addLine; | |
| if (X <= pyramidSum){ | |
| minDay = min(minDay, i); | |
| break; |
OlderNewer