2016년 12월 26일 월요일

플래시게임 - Submachine

0 ~ 10 까지 있는데

0 ~ 9 까지는 튜토리얼 인가 보다

0 ~ 2 까지 하고는 바로 10으로 건너뛰었다가 2시간 반째 해메다 포기했다...

방 탈출 게임인거 같은데 꽤 재밌다.

2016년 12월 6일 화요일

??? 자간 문제가 아닌데?

노트북으로 하면 자간 70%로 해야 하고

데스크탑 으로 하면  130%로 해야 자연스럽다...


익스플로러 버전 차이인거 같기도 하고?


둘다 윈10 인데 ... 뭔 차이 일까

8911 - 거북이

문제 보기


간단한 좌표 문제 였던거 같다.




2016년 12월 5일 월요일

test 들을 통해 알게 되었다 Color Scripter 자간 60%

첨에 130 되있던데 왠지 자꾸 한칸씩 띄어져 보인다 했다

그래서 이거 떄문인가? 하고 100%로 바꿨는데 똑같길래
아닌가? 했었는데
실험정신이 부족했다


50 하니까 뙇 하고 나타남 -> test11

70이 딱 적당한거 같다


외쳐 God joonas!!

test 13

#include <iostream>
using namespace std;
int main()
{
    int n;
    scanf("%d",%n);
    return 0;
}
cs

test 12

#include <iostream>
using namespace std;
 
int main()
{
    int n;
    scanf("%d",%n);
    return 0;
}
cs

test 11

#include <iostream>
using namespace std;
 
int main()
{
    int n;
    scanf("%d",%n);
    return 0;
}
cs

test 10

#include <iostream>
using namespace std;
int main()
{
int n;
scanf("%d",%n);
return 0;
}

test9

#include <iostream>
using namespace std;
int main(){
    int n;
    scanf("%d",&n);
    
    printf("%d",n);
    
    return 0;
}
cs

test8

#include <iostream>
using namespace std;
 
int main(){
 
    int n;
    scanf("%d",&n);
    
    printf("%d",n);
    
    return 0;
}
cs

test7

#include <iostream>
using namespace std;
 
int main(){
 
    int n;
    scanf("%d",&n);
    
    printf("%d",n);
    
    return 0;
}
cs

test6

#include <iostream>
using namespace std;
 
int main(){
 
    int n;
    scanf("%d",&n);
    
    printf("%d",n);
    
    return 0;
}
cs

test5

1
2
3
4
5
6
7
8
9
10
11
12
#include <iostream>
using namespace std;
 
int main(){
 
    int n;
    scanf("%d",&n);
    
    printf("%d",n);
    
    return 0;
}
cs

test4

1
2
3
4
5
6
7
8
9
10
11
12
#include <iostream>
using namespace std;
 
int main(){
 
    int n;
    scanf("%d",&n);
    
    printf("%d",n);
    
    return 0;
}
cs

2016년 11월 30일 수요일

test3

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include <iostream>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <queue>
#include <algorithm>
#include <map>
#include <stack>
#include <vector>
using namespace std;
#define INF 987654321
#define MOD 1000000007
#define P make_pair
typedef long long LL;
typedef unsigned long long UL;
 
 
int arr[100001];
int brr[100001],bnt;
 
int main(){
    int n;
    scanf("%d",&n);
    for(int i=0;i<n;i++)
        scanf("%d",&arr[i]);
     
     
    for(int i=0;i<n;i++){
        if(bnt==0){
            brr[bnt++]=arr[i];
        }
        else{
            if(brr[bnt-1]<arr[i]) brr[bnt++]=arr[i];
            else{
                int change=lower_bound(brr,brr+bnt,arr[i])-brr;
                brr[change]=arr[i];
            }
        }
    }
     
    printf("%d",bnt);
    return 0;
}
cs

하이라이터 쓰는법

c++은 특히 꺽쇠가 많다.

그래서 <pre> 쓰기 귀찮? 았었는데

http://colorscripter.com/ 라는 곳을 이용하면 된다

요렇게

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include <iostream>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <queue>
#include <algorithm>
#include <map>
#include <stack>
#include <vector>
using namespace std;
#define INF 987654321
#define MOD 1000000007
#define P make_pair
typedef long long LL;
typedef unsigned long long UL;
int arr[100001];
int brr[100001],bnt;
int main(){
    int n;
    scanf("%d",&n);
    for(int i=0;i<n;i++)
        scanf("%d",&arr[i]);
     
     
    for(int i=0;i<n;i++){
        if(bnt==0){
            brr[bnt++]=arr[i];
        }
        else{
            if(brr[bnt-1]<arr[i]) brr[bnt++]=arr[i];
            else{
                int change=lower_bound(brr,brr+bnt,arr[i])-brr;
                brr[change]=arr[i];
            }
        }
    }
     
    printf("%d",bnt);
    return 0;
}
cs

test2

1
2
3
4
5
6
7
#include <bits/stdc++.h>
using namespace std;
int main(){
    printf("hello world!");
    return 0;
}
cs

test

#include <bits/stdc++.h>
using namespace std;
int main(){
  printf("hello world!");
  return 0;
}

2016년 8월 12일 금요일

깃이 쉬운줄 알았다...

그랬다....그랬었다


죄송합니다

그냥 뚝딱 하면 다 되는지 알았어요


당분간 깃이던 블로그 소스 html로 쓰던

소스를 안올리고 아이디어만 적을것

2016년 8월 4일 목요일

2016년 7월 12일 화요일

7579 앱






동전 디피...


동전 디피 문제를 많이 풀어보자

익숙하지가 않다

2016년 6월 18일 토요일

2016년 6월 9일 목요일

Floating action button 을 사용해보자

참조 자료들

http://samsetdev.blogspot.kr/2015/05/floating-action-button-material-design.html


https://libraries.io/github/str4d/android-floating-action-button

https://www.npmjs.com/package/nativescript-floatingactionbutton

http://www.viralandroid.com/2016/02/android-floating-action-menu-example.html
http://stackoverflow.com/questions/26740107/is-there-a-library-for-floating-action-buttons-fab-with-labels







<Expand floating button>

http://stackoverflow.com/questions/31111431/android-vertically-expanded-floating-action-button



https://blog.stylingandroid.com/floating-action-button-part-3/
part-(1~3) 써도 됨



<android expand circular floating button>

https://github.com/oguzbilgener/CircularFloatingActionMenu

2016년 5월 25일 수요일

2016년 5월 18일 수요일

잠깐의 과제

시샵을 잠깐 구경 했다

앞으로 연달아 알고리즘 대회인데

너무 준비안하는거같다

디피 안그래도 ㅂ읍ㅅ읍 인데

더 못해짐....

제발 빨리 과제를 끝내고
알고리즘에 전념할수 있기를....

2016년 4월 29일 금요일

아아아아아아아아아아아아ㅏ

BOJ 900를 넘겼지만

내가 푼 문제들은 쉬운문제들 뿐이고

너무 어려운 문제들이 아직 개 많다




결론은 공부합시다....



JM북을 한번 빨리 봐야 SCPC를 준비하던 ACM본선 냄새라도 맡아볼듯....

2016년 4월 20일 수요일

소스 같다 붙이는거 생각외로 잘 안된다

http://asurada0320.blogspot.kr/2013/02/blogspot-syntax-highlighter.html


처럼 하면된다고 하던데

잘 안되넹

html 참고용

배열이 뒤집혀도 배열의 첫번째 숫자를 버립니다. 다시 말하면, 배열의 마지막 숫자를 버리는 것은 배열이 뒤집혔을때 버리는 것과 같다. ​ 뒤집기 연산이 들어올때마다 "앞에서 버릴 지, 뒤에서 버릴 지"를 번갈아주도록 하면 된다. ​ pop_front 와 pop_back 을 위해 데크를 사용한다. ​
같이 보기
​

[BOJ]1005 ACM Craft

문제를 보자마자

음 이건 최장 다익스트라 일꺼야? 란 생각을 했는데


그냥  DFS 로도 풀리는 거였군요....

2016년 4월 18일 월요일

[BOJ]1727 커플만들기

https://www.acmicpc.net/problem/1727

n과 m 이 다른 디피

우선적으로 최대한 많은 커플을 만들어야 하기 때문에
min(n,m)개는 만족해야 한다고 생각해서 디피를 짯다

n>m , arr[n] brr[m] 이라고 할때

arr[i] 와 brr[j] 를 짝지을지, arr[i+1]와 brr[j]를 짝지을지 를 생각했다



줄여서 여기

http://goo.gl/MoTbc0