명령어/ 단축키 등 각종 참조 웹 페이지를 정리한 문서입니다.
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.Runtime.CompilerServices; | |
| using System.Runtime.ExceptionServices; | |
| using System.Threading; | |
| namespace Fibers | |
| { | |
| public struct AsyncFiberMethodBuilder<T> | |
| { | |
| private Fiber<T>? fiber; |
C++ IOS API에서 유용하다 싶은 부분을 주관적으로 작성한 문서입니다.
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 <bits/stdc++.h> | |
| using namespace std; | |
| struct edge { | |
| int to; | |
| int weight; | |
| }; | |
| struct shop | |
| { | |
| int fishMask; |
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 <bits/stdc++.h> | |
| using namespace std; | |
| using LL = long long; | |
| vector<LL> Food; | |
| int solution(vector<int> food_times, long long k) { | |
| copy(food_times.begin(), food_times.end(), back_inserter(Food)); | |
| if (k >= accumulate(Food.begin(), Food.end(), 0ll)) return -1; | |
| LL cnt = 0; |
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 <bits/stdc++.h> | |
| using namespace std; | |
| int row, col; | |
| vector<vector<string>> Relation; | |
| set<int> Key; | |
| bool isUnique(int mask) { | |
| vector<string> accum(row); | |
| for (int c = 0; c < col; 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
| #include <bits/stdc++.h> | |
| using namespace std; | |
| struct urlInfo { | |
| int index; | |
| vector<string> refUrl; | |
| double baseScore; | |
| double matchingScore; | |
| }; |
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 <bits/stdc++.h> | |
| using namespace std; | |
| using uint = unsigned int; | |
| vector<vector<int>> TargetBlocks[5] = { | |
| { | |
| {1, 0}, | |
| {1, 0}, | |
| {1, 1} | |
| }, | |
| { |
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 <bits/stdc++.h> | |
| using namespace std; | |
| using LL = long long; | |
| constexpr int mod = 1000000007; | |
| LL dp0[5002]; | |
| LL dp1[5002]; | |
| int solution(int n) { |
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 <bits/stdc++.h> | |
| using namespace std; | |
| int dp0[1000003]; | |
| int dp1[1000003]; | |
| int solution(vector<int> money) { | |
| int N = money.size(); | |
| dp0[0] = money[0]; | |
| dp1[0] = 0; |
NewerOlder