wood08's blog
  • Posts
  • Categories
  • Tags

    wood08

    우리존재파이팅

    • 집

    Day 5: Loops

    less than 1 minute read

    https://www.hackerrank.com/challenges/30-loops/problem

    <?php
    $stdin = fopen("php://stdin", "r");
    
    fscanf($stdin, "%d\n", $n);
    
    for($i=1; $i<11; $i++){
        echo $n.' x '.$i.' = '.($n*$i)."\n";
    }
    
    fclose($stdin);
    

    Tags: 30DaysOfCode

    Categories: HackerRank

    Updated: November 30, 2018

    Previous Next

    You may also enjoy

    1. 테스트 더블 (test doubles)

    5 minute read

    8. 테스트 더블

    reset 과 revert

    1 minute read

    git commit 을 돌리는 방법 중 reset 과 revert 가 있는데, 이 둘의 차이점을 잘 모르는 상태에서 쓴거 같아서 정리한다.

    macOS 단축키

    1 minute read

    일반 | 키 | 기능 | |:—|:—| | command + c | 복사 | | command + v | 붙여넣기 | | command + z | 실행취소(undo) | | command + shift + z | 실행취소한것 되돌리기 | | command + w | 창 닫기 ...

    stash

    less than 1 minute read

    작업 내역을 임시 저장하는 기능. modified 이면서 commit 은 로그가 남는데 stash 는 로그가 안남는다.

    • Follow:
    • Feed
    © 2019 wood08. Powered by Jekyll & Minimal Mistakes.