This file contains 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 "HPCAnswerInclude.hpp" | |
namespace { | |
using namespace hpc; | |
} | |
namespace hpc { | |
void Answer::Init(const StageAccessor& aStageAccessor) {} | |
// 自分史上最小のINF |
This file contains 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> | |
using namespace std; | |
#define rep(i, n) for (int i = 0; i < int(n); ++i) | |
int g[111][111]; | |
int f[111][111]; | |
int main() { |
This file contains 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<cmath> | |
#include<cstdio> | |
using namespace std; | |
#define rep(i, n) for (int i = 0; i < int(n); ++i) | |
int main() { | |
while (true) { |
This file contains 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<cstdio> | |
#include<complex> | |
using namespace std; | |
#define rep(i, n) for (int i = 0; i < int(n); ++i) | |
#define X real() | |
#define Y imag() |
This file contains 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<complex> | |
#include<cstdio> | |
using namespace std; | |
#define rep(i, n) for (int i = 0; i < int(n); ++i) | |
typedef long double D; | |
typedef complex<D> P; |
This file contains 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
repeat: 4 | |
filename: test.in | |
format: | |
- repeat: 10 | |
type: | |
- type: integer | |
range: (2,100) | |
name: h | |
delimiter: space | |
- type: integer |
This file contains 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
import mechanize | |
import socket | |
import sys | |
import urllib2 | |
from HTMLParser import HTMLParser | |
rd = | |
pm = | |
cr = | |
user_name = '' |
This file contains 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
/* | |
/usr/local/cuda/bin/nvcc fft.cu -I/user/local/cuda/inc -L/usr/local/cuda/lib -lcufft | |
*/ | |
#include <iostream> | |
#include <cufft.h> | |
int main() { |
This file contains 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
import contextlib | |
import time | |
import cupy | |
from cupy.cuda import cufft | |
import cupyx.scipy.fftpack | |
import numpy | |
@contextlib.contextmanager |
This file contains 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
786820954.8678019951 | |
250480340.6880287008 | |
710671228.9786555333 | |
946667800.9609704122 | |
19271058.1958137727 | |
404902144.8161676367 | |
251317817.9280375364 | |
22712438.6279267610 | |
520643152.5734917354 | |
344670306.0791877247 |