Skip to content

Instantly share code, notes, and snippets.

@lullasy
lullasy / sample.cpp
Last active November 30, 2023 04:35
#include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c;
string s;
cin >> a >> b >> c >> s;
cout << a + b + c << " " << s << endl;
return 0;
@lullasy
lullasy / AOJ0115.cpp
Last active October 26, 2020 14:40
// AOJ 0115
#include <iostream>
#include <cmath>
using namespace std;
typedef double Real;
const Real EPS = 1e-5;
struct plane{
@lullasy
lullasy / gist:4281934
Created December 14, 2012 02:07
TopCoder Template
#include <iostream>
#include <sstream>
#include <vector>
#include <string>
#include <algorithm>
#include <cstdio>
using namespace std;
class $CLASSNAME$ {
public:
#include <iostream>
#include <cmath>
#include <algorithm>
using namespace std;
int main(void)
{
int mp, tt = 75;
double score;
cout << "Max Points -> Your Score" << endl;
#include <iostream>
#include <sstream>
#include <vector>
#include <string>
#include <algorithm>
using namespace std;
class CuttingBitString {
public:
int getmin(string S) {
@lullasy
lullasy / gist:3370016
Created August 16, 2012 13:12
すいい
164.28 // 500
227.80 // 501
235.53 // 502
248.13 // 503
216.33 // 504
216.33 // 505
244.38 // 506
217.79 // 504.5(りさぶみっと
248.56 // 507
247.39 // 508