Search found 7 matches

by Ahshua
Tue Sep 14, 2010 8:27 am
Forum: Volume 111 (11100-11199)
Topic: 11100 - The Trip, 2007
Replies: 18
Views: 17264

Re:

hi! I am getting WA can anyone please help me out..... here's my code!

#include<iostream>
using namespace std;

int main()
{
int n,i,j,count,max,temp,prev;
int arr[10010];
while(cin>>n)
{
if(n==0)
break;

for(i=0;i<n;i++)
cin>>arr[i];

for(i=0;i<n;i++)
{
for(j=i;j<n;j++)
{
if(arr[i ...
by Ahshua
Sun Sep 05, 2010 5:55 am
Forum: Volume 2 (200-299)
Topic: 270 - Lining Up
Replies: 48
Views: 24788

UVa 270,What's wrong with my programming???

Help me,please!
I use the Two-point - form
(y-y1)/(y2-y1)=(x-x1)/(x2-x1) change into the Generation form Ax+By+C=0.I'm sure the derivation is correct.But I always got wrong answer :( !
Everyone give me a hand,I need help.
Thanks in advance!

#include <stdio.h>
#include <string.h>
#include <ctype.h ...
by Ahshua
Sat Aug 21, 2010 9:28 am
Forum: General
Topic: uva.onlinejudge.org down again
Replies: 7
Views: 9389

Re: uva.onlinejudge.org down again

Now,everything is ok.
by Ahshua
Mon Jul 26, 2010 1:54 am
Forum: General
Topic: uva.onlinejudge.org down again
Replies: 7
Views: 9389

Re: uva.onlinejudge.org down again

Yes,what's wrong with UVa Online Judge?Submits cann't test,in judge queue. :o
by Ahshua
Sun Jul 11, 2010 2:02 pm
Forum: Volume 4 (400-499)
Topic: 400 - Unix ls
Replies: 93
Views: 29859

Re: 400 - Unix ls

Thank for your tests,I had found out my programming's deficiency,daveon !
NOw,I got Ac! :lol:
At " by daveon » Sat Aug 20, 2005 4:45 am "
by Ahshua
Tue Jul 06, 2010 8:44 am
Forum: Volume 101 (10100-10199)
Topic: 10115 - Automatic Editing
Replies: 29
Views: 12252

Re: 10115 - Automatic Editing

I don't know that's why always wrong,I check it over and over again,but I still didn't check out where the wrong. :(
Help me with solve it.
This is my source code:


#include <stdio.h>
#include <string.h>
#define MAXN 1000
char str[MAXN]={'\0'},rules[11][82]={'\0'},replace[11][82]={'\0'};
char s1 ...
by Ahshua
Tue Jul 06, 2010 6:44 am
Forum: Volume 101 (10100-10199)
Topic: 10115 - Automatic Editing
Replies: 29
Views: 12252

10115 - Automatic Editing,why always wrong?

I don't know that's why always wrong,I check it over and over again,but I still didn't check out where the wrong. :(
Help me with solve it.
This is my source code:


#include <stdio.h>
#include <string.h>
#define MAXN 1000
char str[MAXN]={'\0'},rules[11][82]={'\0'},replace[11][82]={'\0'};
char s1 ...

Go to advanced search