Search found 5 matches

by valfiros
Sun Mar 05, 2006 4:38 am
Forum: Volume 110 (11000-11099)
Topic: 11004 - Changing Roadmap
Replies: 9
Views: 4071

I got TLE too...

I thought,
1. if A and B has same sign ,
2. K is minus in A + BK = 0.

but how can i upgrade my process from O(n^3) to O(n^2) or O(n)?

I used three loop ( n^2 * pp ) , but i couldn't find out more good algrothm.

Plsase suggest me something better :-?


-JSKim@CAC wrote-
by valfiros
Tue Jan 31, 2006 5:15 am
Forum: Other words
Topic: I want to change my E-mail address in ACM site.
Replies: 0
Views: 1588

I want to change my E-mail address in ACM site.

hello : )

I'm JSKim@CAC.



My E-mail address in ACM site is too old version.
(in fact i stopped it last year.)

And of course I wanna change into my using e-mail address...
but 'Update info' in ACM site is disabled.

How can i change my profile infomation in ACM site? (not this board info ...
by valfiros
Sun Oct 30, 2005 5:15 am
Forum: Volume 109 (10900-10999)
Topic: 10954 - Add All
Replies: 80
Views: 41557

thx

yup, in first time, i used quick sort & insertion sort, but TLE...

and i used priority_queue (stl) and got AC.

THX alot!!

-JSKim/valfiros-
by valfiros
Sun Oct 30, 2005 4:05 am
Forum: Volume 109 (10900-10999)
Topic: 10954 - Add All
Replies: 80
Views: 41557

Oh my god...

Oh my god...I did absolutely same mistake...
(and got WA over 20 time, about 4 hours, saying "what the @%^"...)
thx alotttt!

-JSKim-
by valfiros
Wed May 25, 2005 3:39 pm
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 79277

673 WA... need help.


#include <stack>
#include <stdio.h>

using namespace std;
void sub();

void main()
{
unsigned int case_num;
scanf("%d",&case_num);
for(unsigned int i=0;i<case_num;i++)
sub();
}

void sub()
{
stack <char> k; // stack
unsigned int istrue=1; // flag
char array[130];
char * cpt;

fflush ...

Go to advanced search