Skip to content

Instantly share code, notes, and snippets.

Naoto Mizuno not522

Block or report user

Report or block not522

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@not522
not522 / fft.py
Created Sep 24, 2018
FFT Benchmark
View fft.py
import contextlib
import time
import cupy
from cupy.cuda import cufft
import numpy
@contextlib.contextmanager
def timer(message):
View fft.cu
/*
/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() {
@not522
not522 / Answer.cpp
Created Nov 10, 2014
ハル研プロコン
View Answer.cpp
#include "HPCAnswerInclude.hpp"
namespace {
using namespace hpc;
}
namespace hpc {
void Answer::Init(const StageAccessor& aStageAccessor) {}
// 自分史上最小のINF
View marathon.py
import mechanize
import socket
import sys
import urllib2
from HTMLParser import HTMLParser
rd =
pm =
cr =
user_name = ''
View icpc1.yaml
repeat: 4
filename: test.in
format:
- repeat: 10
type:
- type: integer
range: (2,100)
name: h
delimiter: space
- type: integer
View e.cpp
#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;
View D(4).cpp
#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()
View b.cpp
#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) {
View GCJ2013-Q-B
#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() {
You can’t perform that action at this time.