Search found 4 matches

by Dickon
Fri Jun 23, 2006 4:00 am
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 97013

Re: 10200(time limited~help)

thank for your suggestion,i get AC.
by Dickon
Thu Jun 22, 2006 7:07 pm
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 97013

thank you very much , i will try it.
by Dickon
Thu Jun 22, 2006 12:34 pm
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 97013

10200(time limited~help)

my code is always time limited,
can someone give me suggestion?

my code is:
#include<stdio.h>
#include<math.h>
int main()
{
int j=0,temp,m=0,y=0;
float i,a,b,k=0.00,s=0.00,c=0.00;
int p[1230]={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,
107,109,113,127,131 ...
by Dickon
Thu Jun 15, 2006 4:46 am
Forum: Volume 2 (200-299)
Topic: 256 - Quirksome Squares
Replies: 30
Views: 8710

256~Output Limit Exceeded(help><")

#include<stdio.h>

int main()
{

int c;

while(scanf("%d",&c)!=0){

if(c==2){

printf("%s\n%s\n%s\n","00","01","81");
}

else if(c==4){

printf("%s\n%s\n%s\n%s\n%s\n","0000","0001","2025","3025","9801");

}



else if(c==6){

printf("%s\n%s\n%s\n%s\n%s\n","000000","000001","088208 ...

Go to advanced search