How about this??
def bonuses(points):
a = sum(points)
b = []
c = sorted(points)
c.reverse()
for i in points:
b += [(int)(i*100/a)];
if(sum(b) != 100):
for i in range(100-sum(b)):
b[points.index(c[i])]+=1
return b
In Python
On Oct 1, 9:21 pm
My solution
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define all(v) (v).begin(),(v).end()
#define sz size()
#define REP(i,a,b) for(int i=int(a);i p, pairq){
if(p.first!=q.
anyways , thanks.
On May 8, 1:07 am, Moh Ghooo wrote:
> Dear All,
>
> Running during these days is the TopCoder Open Tournament. It includes many
> competition tracks; Algorithm, Marathon, Design, Development, Mod Dash as
> well as Studio. Although I am unfamiliar with all of these tracks except
No problem dude, for me was interesting
Rodrigo Augosto // rodrigo.augo...@gmail.com
@coto
On Fri, May 7, 2010 at 16:09, Moh Ghooo wrote:
> sry guys, i have by accident chosen google-code group
> sry for any inconvenience
>
> Regards
> Mohamed Sayed Ghoneim
>
>
>
> On Fri, May 7, 2010 at 11:0
sry guys, i have by accident chosen google-code group
sry for any inconvenience
Regards
Mohamed Sayed Ghoneim
On Fri, May 7, 2010 at 11:07 PM, Moh Ghooo wrote:
> Dear All,
>
> Running during these days is the TopCoder Open Tournament. It includes many
> competition tracks; Algorithm, Marathon,
thank you
2009/11/29 Miguel Oliveira
> Hi,
>
> I'm not sure if there are such simple problems there.
>
> You should read
> http://www.topcoder.com/wiki/display/tc/How+To+Compete+in+Algorithm+Competitions
> (specially the first 2 sections).
>
> Then you may start with the SRMs' Div2 250 problems.
Hi,
I'm not sure if there are such simple problems there.
You should read
http://www.topcoder.com/wiki/display/tc/How+To+Compete+in+Algorithm+Competitions
(specially the first 2 sections).
Then you may start with the SRMs' Div2 250 problems. Usually, these
are very simple and should be good pro
Hi,
To participate in the GCJ is not necessary any program, only the
programming language and your imagination ;).
To submit the anwers of the problems, you do it in the GCJ's web page.
On Jul 9, 2009 6:40am, Renatha Accioly wrote:
> Yes Nishikant, but for the GCJ... what do I do? Which progra
language !!
On Thu, Jul 9, 2009 at 11:41 AM, Manoj Elanjickal wrote:
> Get lost ... bitch.
>
> On Thu, Jul 9, 2009 at 5:10 PM, Renatha Accioly
> wrote:
>
>> Yes Nishikant, but for the GCJ... what do I do? Which program should I
>> download?
>> Thanks
>>
>> 2009/7/8 Nishikant Deshmukh
>>
>>> wel
Get lost ... bitch.
On Thu, Jul 9, 2009 at 5:10 PM, Renatha Accioly wrote:
> Yes Nishikant, but for the GCJ... what do I do? Which program should I
> download?
> Thanks
>
> 2009/7/8 Nishikant Deshmukh
>
>> well I have read somewhere that topcoder won't be the base of GCJ and
>> google is develop
Thank you so much Rodrigo.
2009/7/9 Rodrigo Cunha
>
> Renata,
>
> Portuguese:
>
> Não há nenhum Code Jam oficialmente agendado até o momento.
>
> Na última edição do GCJ não foi necessário o download de nenhuma
> ferramenta especÃfica. Vo
Renata,
Portuguese:
Não há nenhum Code Jam oficialmente agendado até o momento.
Na última edição do GCJ não foi necessário o download de nenhuma
ferramenta especÃfica. Você pode usar qualquer ferramenta (compilador
de sua linguagem favor
Yes Nishikant, but for the GCJ... what do I do? Which program should I
download?
Thanks
2009/7/8 Nishikant Deshmukh
> well I have read somewhere that topcoder won't be the base of GCJ and
> google is developing its own environment. To use topcoder u have many FAQ's
> on the topcoder.com and olde
well I have read somewhere that topcoder won't be the base of GCJ and google
is developing its own environment. To use topcoder u have many FAQ's on the
topcoder.com and older problems might come handy.
~Nishikant
On Wed, Jul 8, 2009 at 8:22 PM, Juan Pedro A. Lopes wrote:
> The first post in thi
The first post in this topic was:
> Alguem sabe usar o topcoder? E ele seria o programa do GCJ?
That means:
> Does someone know how to use the topcoder? And might (or would, not sure)
> it be the GCJ program?
Even me, portuguese speaker, didn't understand the question.
--~--~-~--~---
no man ! Looks like it won't be there and I think GOOGLE PEOPLE should post
them on the GCJ home page to ask people to keep patience in BIG RED LETTERS
:D. Regarding coding env. it looks like they have posted about it on the GCJ
webpage!
On Wed, Jul 8, 2009 at 8:08 PM, Renatha Accioly wrote:
> Ye
Yes... this question is about it. Do you know?
2009/7/8 Nishikant Deshmukh
> I don't understand this language but seems like question about 'QCJ is
> cancelled or not' or 'coding environment'
>
> 2009/7/8 Renatha Accioly
>
>> E como foi que tu utilizou o TopCoder... eu nao conseguir arranjar um
Por favor, usem a lista em inglês, caso quiserem falar em português,troque
e-mails em particular , =]
Esse assunto poderia ser importante para alguem que fala outras lÃnguas, e
provavelmente falem inglês.
Please, use this list in english language, if you people wanna to speak in
portuguese,
Por favor, usem a lista em inglês, caso quiserem falar em português,troque
e-mails em particular , =]
Esse assunto poderia ser importante para alguem que fala outras lÃnguas, e
provavelmente falem inglês.
Please, use this list in english language, if you people wanna to speak in
portuguese, s
Well, it seems wrong
On Wed, Jul 8, 2009 at 9:06 PM, Nishikant Deshmukh <
nishikant.deshm...@gmail.com> wrote:
> I don't understand this language but seems like question about 'QCJ is
> cancelled or not' or 'coding environment'
>
> 2009/7/8 Renatha Accioly
>
>> E como foi que tu utilizou o TopCo
I don't understand this language but seems like question about 'QCJ is
cancelled or not' or 'coding environment'
2009/7/8 Renatha Accioly
> E como foi que tu utilizou o TopCoder... eu nao conseguir arranjar uma
> forma de utiliza-lo.
> Valeu
>
> 2009/7/8 Luiz R. Rodrigues
>
>>
>> Olá Renata,
>>
E como foi que tu utilizou o TopCoder... eu nao conseguir arranjar uma forma
de utiliza-lo.
Valeu
2009/7/8 Luiz R. Rodrigues
>
> Olá Renata,
>
> acabei de participar de 1 competição no TopCoder. estou em 59• rs..
>
> Estou no iPhone agora, quando estiver no PC te mando mais detalhes.
>
>
>
> Em
Olá Renata,
acabei de participar de 1 competição no TopCoder. estou em 59• rs..
Estou no iPhone agora, quando estiver no PC te mando mais detalhes.
Em 08/07/2009, às 15:29, Renatha Accioly
escreveu:
>
> Alguem sabe usar o topcoder? E ele seria o programa do GCJ?
>
> Thanks
>
> >
--~--~--
Renata,
this is the last info we had about GCJ, sent on July 4th:
"...First, a note about whether there will be a Code Jam 2009. We
will make an announcement of some type, but this isn't it; we will
make that announcement on this list; and I can't tell you what we'll
say or when we'll say it.
Sorry, I speak English too... =D Thanks very much Roger and Lego...
So, Let's go...
I study computer science and somebody speak me about the GCJ...
Will there this year?
But, anyway, I downloaded the topcoder, I'm trying to use this, but I don't
know... I don't understand yet.
I read the inform
I'm not a moderator or anything important ... however, I'm pretty sure this
group is intended for international readers ... I'd appreciate if we
communicate in English as much as we can. Thanks.
Best,
-Lego
On Wed, Jul 8, 2009 at 11:29 AM, Renatha Accioly
wrote:
>
> Alguem sabe usar o topcoder?
Renata,
Acho melhor vc perguntar em EN pq portugues vai ser dificíl alguém t
responder, topcoder não é do Google! acho q nesse ano o google suspendeu o
GCJ
On Wed, Jul 8, 2009 at 3:29 PM, Renatha Accioly wrote:
>
> Alguem sabe usar o topcoder? E ele seria o programa do GCJ?
>
> Thanks
>
> >
>
-
Thanx every one, its working now
On Thu, Nov 20, 2008 at 1:48 PM, ImranKane2005 <[EMAIL PROTECTED]>wrote:
>
> Have you tried placing $TESTCODE$
> and
> // BEGIN CUT HERE
>int main()
>{
>$CLASSNAME$ ___test;
>___test.run_test(-1);
>}
>// END CUT HERE
> (supp
It took me a long time to work that out as well. Read and apply the
Template Examples section.
On Thu, Nov 20, 2008 at 3:09 AM, qasim zeeshan <[EMAIL PROTECTED]> wrote:
> the problem is, it is not creating any function to run the programm
>
> On Thu, Nov 20, 2008 at 12:54 PM, ImranKane2005 <[EMAI
Have you tried placing $TESTCODE$
and
// BEGIN CUT HERE
int main()
{
$CLASSNAME$ ___test;
___test.run_test(-1);
}
// END CUT HERE
(supposing you have fileedit)
in your program as mentioned in documentation of TzTester ?
On Nov 20, 1:09 pm, "qasim zeeshan" <
the problem is, it is not creating any function to run the programm
On Thu, Nov 20, 2008 at 12:54 PM, ImranKane2005 <[EMAIL PROTECTED]>wrote:
>
> Sure what`s the problem in that ?
> You can read the documentation of TzTester it`s very well written.
> http://www.topcoder.com/contest/classes/TZTest
Sure what`s the problem in that ?
You can read the documentation of TzTester it`s very well written.
http://www.topcoder.com/contest/classes/TZTester/TZTester.html
On Nov 20, 11:17 am, "qasim zeeshan" <[EMAIL PROTECTED]> wrote:
> Does any one know how to use TopCoder's TZTester with C++? Thanx i
32 matches
Mail list logo