Skip to content

Instantly share code, notes, and snippets.

#include<iostream>
int main(void)
{
std::cout << "Hello,world!" << std::endl;
return 0;
}
#include<iostream>
using namespace std;
int main(void){
int l[10];
char c;
double ls, x1, t, v1, v2;
while(1){
#include <iostream>
#include <algorithm>
#include <cctype>
#include <cstdio>
#include <math.h>
using namespace std;
int main(){
int d[14][14]={0},x,y,t,m=0,z=0;
while(scanf("%d,%d,%d",&x,&y,&t)!=EOF){
#include<iostream>
#include<queue>
using namespace std;
int main(void){
queue<int> a,b,d;
int n, m, k;
cin >> n;
for(int i = 0; i < 2 * n; i++){
d.push(i + 1);
#include<iostream>
#include<vector>
#include<queue>
using namespace std;
int main(void){
int a,b,c, t, n;
while(cin >> a >> b >> c, a + b + c !=0){
vector<int> h;
vector<int> p;
queue< vector<int> > que;
//AOJ 10000
import std.stdio;
void main()
{
writeln("Hello World");
}
//AOJ 10001
import std.stdio;
function check (inboard, x, y){
var board = inboard;
for(var i = 1; i <= x; i++){
for(var j = 1; j <= y; j++){
var dot = 0;
var guardman = 0;
for(var k = -1; k < 2; k++){
for(var l = -1; l < 2; l++){
if(k == 0 && l == 0) continue;
function Putable(board, x, y, turn){
var count = 0;
for(var i = -1; i <= 1; i++){
for(var j = -1; j <= 1; j++){
if(i == 0 && j == 0) continue;
if(board[y + i][x + j] == 3 - turn){
var k = i;
var l = j;
var incount = 0;
while(1){
#include<stdio.h>
#include<string.h>
int CheckFront(int, char *);
int CheckBack(int, char *);
int main(int argc, char *argv[]){
char example[] = {"例:bfc ソースファイル [出力ファイル名]"};
char sourceName[32];
char outName[32] = {"out.txt"};
import std.stdio;
void main(){
writeln("Hello, world!");
}