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 <cstdio> | |
#include <cstdlib> | |
// input values | |
int n = 1; | |
int *a_card, *b_card; | |
int main(){ | |
// This loop is one mass. | |
while(1){ |
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 <cstdio> | |
#include <cstring> | |
int main(){ | |
char str[10001]; | |
while(1){ | |
int joi = 0, ioi = 0; | |
scanf("%s", str); | |
if(*str == 0)break; | |
for(int i = 0; i < 9999; i++){ |
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 <cstdio> | |
int main(){ | |
int a[4], b[4], as=0, bs=0; | |
scanf("%d %d %d %d",a,a+1,a+2,a+3); | |
scanf("%d %d %d %d",b,b+1,b+2,b+3); | |
for(int i = 0; i < 4; i++){ | |
as += a[i], bs += b[i]; | |
} | |
if(as > bs) printf("%d\n", as); |
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
NITE | |
Session | |
Detector | |
idea | |
・skypeとkinectの併用 | |
openNIの関数群はWin32APIと似ている | |
memory | |
file | |
INI |
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
一歳半のちびっ子が認識しない件 | |
Kinect本はKinect-Hackにぴったりです | |
OpenNI | |
Generator | |
MetaData | |
NITE | |
Session | |
Detector | |
idea |
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
#define LED 13 | |
#define BUTTON 7 | |
int val; | |
int flag, flag2, sw; | |
void setup(){ | |
pinMode(LED, OUTPUT); | |
pinMode(BUTTON, INPUT); | |
sw = flag = flag2 = 0; |
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> | |
#define F )!=string::npos | |
#define N s.find( | |
using namespace std; | |
main(){ | |
string s; | |
while(getline(cin,s)){ | |
for(int i,j=26;j--;){ | |
if(N"the"F||N"this"F||N"that"F){ | |
cout<<s<<endl;break; |
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
n;main(m){for(n=81;n--;m=n%9)printf("%dx%d=%d\n",9-n/9,9-m,(9-n/9)*(9-m));} |
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> | |
#define F )!=string::npos | |
#define N s.find( | |
using namespace std; | |
main(){ | |
string s; | |
while(getline(cin,s)){ | |
for(int i,j=26;j--;){ | |
if(N"the"F||N"this"F||N"that"F){ | |
cout<<s<<endl;break; |
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
using System; | |
using System.Windows.Forms; | |
class Sample1 : Form { | |
private Label lb, lb2; | |
private Button bt; | |
public static void Main() { | |
Application.Run( new Sample1() ); | |
} |
OlderNewer