Search found 27 matches

by darkos32
Mon Nov 12, 2007 11:09 am
Forum: Volume 113 (11300-11399)
Topic: 11340 - Newspaper
Replies: 154
Views: 42918

asd

how to used cin.get() ?
i used like this for input :

2
av
sd

Code: Select all


scanf("%d\n",&m);
long total = 0;
while(m--){
unsigned char ch;
ch = cin.get();
cout << ch;
int cht = (int) ch;
}

but it prints nothing..and how to check the newline ?

thanks.
by darkos32
Tue Oct 09, 2007 11:26 am
Forum: Volume 112 (11200-11299)
Topic: 11286 - Conformity
Replies: 19
Views: 8743

i know now,my array size is too small...but now i got TLE...
by darkos32
Tue Oct 09, 2007 11:06 am
Forum: Volume 112 (11200-11299)
Topic: 11286 - Conformity
Replies: 19
Views: 8743

asd

emm..which is the answer ?

now my code give me :

Code: Select all

4
5
4
but still got WA...any testcase again ?
does 0 is an input ?



thanks..
by darkos32
Mon Oct 08, 2007 11:19 am
Forum: Volume 112 (11200-11299)
Topic: 11286 - Conformity
Replies: 19
Views: 8743

asd

hi,i got WA...can anyone give me the testcase please ?



thanks.
by darkos32
Mon Oct 01, 2007 5:52 am
Forum: Volume 112 (11200-11299)
Topic: 11296 - Counting Solutions to an Integral Equation
Replies: 11
Views: 5790

asd

accepted now...thanks..

im so stupid..it's very easy problems..
by darkos32
Mon Oct 01, 2007 3:45 am
Forum: Volume 112 (11200-11299)
Topic: 11296 - Counting Solutions to an Integral Equation
Replies: 11
Views: 5790

11296 - Counting Solutions to an Integral Equation

I got WA with my code...can anyone give me some testcase please ?

thanks..
by darkos32
Thu Aug 23, 2007 9:25 am
Forum: Volume 106 (10600-10699)
Topic: 10656 - Maximum Sum (II)
Replies: 52
Views: 15986

asd

i got PE..can someone help me give me the sample input and output...

this is my code :

Code: Select all

got accepted..
thanks..
by darkos32
Thu Aug 23, 2007 9:22 am
Forum: Volume 103 (10300-10399)
Topic: 10336 - Rank the Languages
Replies: 21
Views: 9304

sd

hi,i got WA..this is my code : #include <stdio.h> int xs[16][16],max; char s[16][16]; int x,y; struct data { char a[2]; int b; }; data kdat[300]; void cek(int awal,int po1,int po2,int p1,int p2){ if(xs[p1][p2]==0 && s[po1][po2]==s[p1][p2]){ if(awal==0) { int ada = 0; for(int i=0;i<max && ada==0;i++)...
by darkos32
Sun Jul 15, 2007 7:57 am
Forum: Volume 112 (11200-11299)
Topic: 11239 - Open Source
Replies: 21
Views: 7767

asd

i've try it and still got WA...btw,how long the information would be ?i use 100 chars.. this is my code : #include <stdio.h> #include <string.h> int max,maxmurid,maxpr[101],posmurid[101]; char murid[10001][100],projek[101][100]; void sort(){ for(int i=0;i<max;i++){ for(int j=i+1;j<max;j++){ if(maxpr...
by darkos32
Sun Jul 15, 2007 7:25 am
Forum: Volume 112 (11200-11299)
Topic: 11239 - Open Source
Replies: 21
Views: 7767

asd

i've also got WA..can anyone give me testcases ?

thanks...
by darkos32
Wed Jun 06, 2007 7:21 am
Forum: Volume 112 (11200-11299)
Topic: 11218 - KTV
Replies: 11
Views: 6235

yepp

yepp...i got accepted...thankss...
by darkos32
Sun Jun 03, 2007 4:46 pm
Forum: Volume 112 (11200-11299)
Topic: 11218 - KTV
Replies: 11
Views: 6235

y

yep,i got WA,i dont know whats wrong with my code..

thanks..
by darkos32
Sun Jun 03, 2007 1:03 pm
Forum: Volume 112 (11200-11299)
Topic: 11218 - KTV
Replies: 11
Views: 6235

11218 - KTV

hi,can anyone give me testcases please ?

thanks..
by darkos32
Thu May 24, 2007 4:49 am
Forum: Volume 112 (11200-11299)
Topic: 11207 - The easiest way
Replies: 27
Views: 13241

aa

sjn wrote:think this what's the size for 32*8 and 32*9

hope this help
i still dont understand the answer..
32*8 can make 8*8,and 32*9 can make 8*8 too..so is it right?
by darkos32
Wed May 23, 2007 4:42 pm
Forum: Volume 112 (11200-11299)
Topic: 11205 - The broken pedometer
Replies: 25
Views: 13560

asd

i've tried all test cases,but i still got WA...can anyone give me another critical testcases ?


thanks..

Go to advanced search