Search found 5 matches

by Rein
Mon May 19, 2003 6:01 pm
Forum: Volume 4 (400-499)
Topic: 418 - Molecules
Replies: 7
Views: 2454

Is there any special case for 418?

I try to use brute force to caculate all possible arrangement, but I just can't get AC on this porblem. So, could anyone please give me a hint?

Besides, there seems to be some illegal input given, and how should I handle with them? Skip all the four line? Or skip only one line?
by Rein
Fri Jan 31, 2003 4:39 am
Forum: Volume 2 (200-299)
Topic: 202 - Repeating Decimals
Replies: 82
Views: 25310

Um... I found another mistake in my code...and just got AC

Anyway, thank you very much.
by Rein
Thu Jan 30, 2003 4:20 am
Forum: Volume 2 (200-299)
Topic: 202 - Repeating Decimals
Replies: 82
Views: 25310

202-- Where should place the parenthesis?

It said:
In writing the decimal expansion, enclose the repeating cycle in parentheses when possible. If the entire repeating cycle does not occur within the first 50 places, place a left parenthesis where the cycle begins - it will begin within the first 50 places - and place ``...)" after the 50th ...
by Rein
Sat Aug 03, 2002 1:39 pm
Forum: Volume 1 (100-199)
Topic: 161 - Traffic Lights
Replies: 28
Views: 8177

I'm so sorry... :oops:
It seems that I asked a stupid question again...
but...I chganged the two places you mentioned...

I still got WA...
by Rein
Sun Jul 28, 2002 11:44 am
Forum: Volume 1 (100-199)
Topic: 161 - Traffic Lights
Replies: 28
Views: 8177

161 keep wa...

I really have touble with this prob...
I don't know why I keep getting WA :(

[c]/* @JUDGE_ID: 8789ec 161 C */
#include<stdio.h>
#include<string.h>

int lights[128],lights2[128];
char buff[128];

void main(){
int i,count,now;
char *k;k=strtok(buff," ");
while(1){

for(count=0,i=0;count<101 ...

Go to advanced search