Good
const AppHeader = () => import('~/components/AppHeader.vue')
const AppFooter = () => import('~/components/AppFooter.vue')
Bad
import AppHeader from '~/components/AppHeader.vue'
import AppFooter from '~/components/AppFooter.vue'
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
| ## 開発環境面 | |
| - MacBook Pro | |
| - ネットワークアクセスの自由さ | |
| ## 待遇面 | |
| 年俸はA$160kが希望です | |
| (三菱商事の年収、駐在費やオーストラリアのシニアデータサイエンティストやコンサルタントの年収を参考にしました) |
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
| HOME_K | VISITOR_IP | Team | VISITOR_K | Year | HOME_BB | VISITOR_BB | HOME_IP | |
|---|---|---|---|---|---|---|---|---|
| 508 | 625 | Giants | 484 | 2015 | 180 | 195 | 646 | |
| 505 | 620+1/3 | Buffaloes | 450 | 2015 | 215 | 261 | 643 | |
| 506 | 624+2/3 | Eagles | 517 | 2015 | 208 | 248 | 663 | |
| 527 | 630+1/3 | Carp | 483 | 2015 | 217 | 202 | 656 | |
| 581 | 608+1/3 | Tigers | 509 | 2015 | 214 | 238 | 664 | |
| 455 | 621+2/3 | Marines | 471 | 2015 | 212 | 216 | 643 | |
| 501 | 622+2/3 | Fighters | 492 | 2015 | 253 | 218 | 654 | |
| 444 | 607 | Lions | 429 | 2015 | 235 | 252 | 658 | |
| 626 | 627+1/3 | Hawks | 503 | 2015 | 204 | 223 | 672 |
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
| mixOf = (base, mixins...) -> | |
| class Mixed extends base | |
| for mixin in mixins by -1 #earlier mixins override later ones | |
| for name, method of mixin:: | |
| Mixed::[name] = method | |
| Mixed | |
| class DeepThought | |
| answer: -> | |
| 42 |
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
| /** | |
| * @author Taketo Yoshida | |
| */ | |
| import java.util.*; | |
| public class ConvenientLocation { | |
| private Solver solver; | |
| public class Pair<F, S> { | |
| private F first; //first member of pair |
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
| /** | |
| * @author Taketo Yoshida | |
| */ | |
| public class RoadOrFlight { | |
| private Solver solver; | |
| enum SolverType { DP, FULL_SEARCH, MEMODFS } | |
| class SolverNotFoundException extends Exception { | |
| public SolverNotFoundException(String msg) { super(msg); } | |
| } |
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
| //include | |
| //------------------------------------------ | |
| #include <vector> | |
| #include <list> | |
| #include <map> | |
| #include <set> | |
| #include <deque> | |
| #include <stack> | |
| #include <bitset> | |
| #include <algorithm> |
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
| def getHash(hashes, val) | |
| start = 0 | |
| finish = hashes.size - 1 | |
| val = val % hashes[finish] | |
| if hashes[start] >= val | |
| return hashes[0] | |
| end | |
| mid = start |
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
| /** | |
| * @author Taketo Yoshida | |
| */ | |
| import java.util.*; | |
| public class InfiniteSequence { | |
| private Solver solver; | |
| enum SolverType { DP, DFS, MEMODFS } | |
| class SolverNotFoundException extends Exception { |