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
lowlinkを再帰関数を使わずに求めるのはどうするのがいいだろうかと考えてみた。 | |
lowlink.cpp:再帰関数を使った普通のlowlink | |
lowlink1.cpp:再帰関数を使わないlowlink | |
lowlink2.cpp:再帰関数を使わないlowlinkその2 | |
/////////////////// lowlink /////////////////// | |
こんな感じに囲んであるのがlowlinkを求める部分。 | |
/////////////////////////////////////////////// |
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
/******************************************************************* | |
SuperCon12: Template for input output procedures | |
file: sc12_template2E.cu | |
by S.Kishimoto and O.Watanabe Aug. 17, 2012 | |
ver.2 by T.Endo and A.Nukada Aug. 22, 2012 | |
Remark: @@@ for test/tentative statements | |
*********************************************************************/ | |
/********* Template Part (1) NO CHAGNGE FROM HERE **********/ |
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
1: 126 | |
2: 37 | |
3: 349 | |
4: 883 | |
5: 615 |
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
/** | |
* @file | |
* @brief 参加者が解答を記述するファイル。 | |
*/ | |
#include "HPCIncludes.hpp" | |
//#include "cstdio" | |
//---------------------------------------------------------- | |
using namespace hpc; // 名前空間が不必要な場合はこのように記述。 |
NewerOlder