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
<html> | |
<script> | |
function printf(ms){ | |
document.write(ms,"<br>"); | |
} | |
var aa=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
<html> | |
<script> | |
function print(ms){ | |
document.write(ms,"<br>"); | |
} |
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
<html> | |
<body> | |
<script> | |
var n,i,flg=0; | |
for(n=2;n<=100;n++){ | |
for(i=2;i<=n;i++){ | |
if(n%i==0) | |
flg++; |
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
class SampleController < ApplicationController | |
def index | |
end | |
def index | |
@user = Hash.new | |
@user[:name] = 'obaka' | |
end | |
end |
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
<! DOCTYPE html> | |
<html> | |
<head> | |
<script src="common.js"></script> | |
<script src="main.js"></script> | |
</head> | |
<body> |
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 <stdio.h> | |
int main(void){ | |
int i,j,w,aa,fl=0; | |
int a[]={4,2,7,41,98,9,3,222,1,11}; | |
for(i=0;i<=9;i++){ | |
for(j=9;j>=i+1;j--){ | |
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 <stdio.h> | |
int main(void){ | |
int l,h,k,x; | |
int a[]={1,5,12,34,999}; | |
h=5; | |
l=0; | |
scanf("%d",&x); |
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
int i=0; | |
char a[7]; | |
char *b[]={"おばか","アホ","まぬけ"}; | |
scanf("%s",a); | |
for(i=0;i<=2;i++) | |
if(strcmp(a,b[i])==0)printf("ばかやろう"); |
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
<script> | |
var a=[1,3,5,7]; | |
var b=5; | |
var i=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
import math | |
aa=0 | |
bb=0 | |
tt=0 | |
a=[0]*20 | |
a[0]=1 | |
b=[0]*20 | |
b[0]=1/(math.sqrt(2)) | |
t=[0]*20 |