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
| # Modified by Tadashi Saito (@tadd), 2022 | |
| # https://gist.github.com/tadd/72fd6cd1efa41ea5b4e38a1cce9c7ad5 | |
| # | |
| # ipsj.cls を upLaTeX 用にしてみる(源ノ明朝・源ノ角ゴシックを使う) | |
| # https://gist.github.com/trueroad/c44312923bf02226c2274388941d0453 | |
| # | |
| # ipsj.cls は pLaTeX 専用のようなのですが、 | |
| # 試しに upLaTeX で使えるようにした up-ipsj.cls を作ってみました。 | |
| # upLaTeX なので pLaTeX では難しかった源ノ明朝・源ノ角ゴシックの利用が | |
| # できるようになります。 |
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> | |
| #include <cstdlib> | |
| using namespace std; | |
| int operacion(int x) | |
| { | |
| int y; | |
| static const int primes[] = { | |
| 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, | |
| 43, 47, 53, 59, 61, 67, 71, 79, 83, 89, 97 | |
| }; |