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
| * { | |
| font-size: large; | |
| } | |
| #input { | |
| padding: 4px; | |
| min-width: 10px; | |
| border-bottom: 1px; | |
| } |
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 <stdio.h> | |
| int main() | |
| { | |
| int len = 0; | |
| double weights[5], heights[5]; | |
| int maxlen = sizeof weights / sizeof(double); | |
| printf("0: Add a member\n"); | |
| printf("Other than 0: Calculate BMI\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 <stdio.h> | |
| int main() | |
| { | |
| int n; | |
| scanf("%d", &n); | |
| for (int i = 1; i <= n; ++i) |
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 <assert.h> | |
| #include <iostream> | |
| #include <type_traits> | |
| template <typename I> | |
| struct EuclideanResult | |
| { | |
| static_assert(std::is_integral_v<I>, "I must be integral"); | |
| I gcd, x, y, lhs, rhs; | |
| }; |
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 <Windows.h> | |
| #include <ctime> | |
| #include <iostream> | |
| using namespace std; | |
| int main(int argc, char* argv[]) | |
| { | |
| HANDLE process = GetCurrentProcess(); |
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
| [package] | |
| name = "nok-internal" | |
| version = "0.1.0" | |
| authors = ["Chanjung Kim <freiyer.paxbun@gmail.com>"] | |
| edition = "2018" | |
| [dependencies] | |
| num = "0.3.0" | |
| [lib] |
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 <Windows.h> | |
| #include <stdio.h> | |
| extern "C" __declspec(dllexport) void ExportedFunction(char const* msg) | |
| { | |
| for (int i = 0; i < 5; ++i) printf("%s\n", msg); | |
| } | |
| int main() | |
| { |
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
| #ifdef _WIN32 | |
| # include <Windows.h> | |
| #else | |
| # include <sys/mman.h> | |
| # include <unistd.h> | |
| #endif | |
| #include <array> | |
| #include <cstddef> | |
| #include <cstring> |
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
| # Copyright (c) 2020-2022 Chanjung Kim (paxbun). All rights reserved. | |
| # Licensed under the MIT License. | |
| # See Clang 10 documentation for more information. | |
| BasedOnStyle: LLVM | |
| AccessModifierOffset: -2 | |
| AlignAfterOpenBracket: Align | |
| AlignConsecutiveAssignments: true | |
| AlignConsecutiveDeclarations: true |
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 <iostream> | |
| class Base | |
| { | |
| private: | |
| int _value; | |
| public: | |
| int GetValue() const | |
| { |