Skip to content

Instantly share code, notes, and snippets.

View IsuraManchanayake's full-sized avatar
🏠
Working from home

Isura D. Manchanayake IsuraManchanayake

🏠
Working from home
  • University of Melbourne
  • Melbourne
View GitHub Profile
#include <iostream>
#include <ctime>
#include <vector>
#include <functional>
using namespace std;
int L = 100000000;
int R = 100100000;
primality test using primality_naive(int64_t)
L = 100000 : R = 200000
test 1 duration : 19.897 s
test 2 duration : 20.491 s
average of 2 test(s) : 20.198 s
#include <iostream>
int main() {
std::cout << "Hello World!" << std::endl;
return 0;
}