Comments
On MikeMirzayanov → Hello, Java 8, 13 years ago
-25

What about Objective-C? Is it too difficult to configure clang or something else?

On Egor → CHelper 3.9, 14 years ago
0

Thanks. Works like a charm! :)

On Egor → CHelper 3.9, 14 years ago
0

Mac OS X 10.8.3

On Egor → CHelper 3.9, 14 years ago
0

Got this error while installing CHelper 3.41 on IDEA 12:

Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(324,571),absolute(781,760),button=1,modifiers=Button1,clickCount=1] on dialog3
java.lang.NullPointerException
	at java.lang.String.replace(String.java:2207)
	at net.egork.chelper.util.CodeGenerationUtilities.createStub(CodeGenerationUtilities.java:249)
	at net.egork.chelper.util.FileUtilities.createTaskClass(FileUtilities.java:301)
	at net.egork.chelper.util.FileUtilities.createIfNeeded(FileUtilities.java:346)
	at net.egork.chelper.ui.ParseDialog$1.onOk(ParseDialog.java:64)
	at net.egork.chelper.ui.OkCancelPanel$1.actionPerformed(OkCancelPanel.java:16)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
	at java.awt.Component.processMouseEvent(Component.java:6382)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
	at java.awt.Component.processEvent(Component.java:6147)
	at java.awt.Container.processEvent(Container.java:2083)
	at java.awt.Component.dispatchEventImpl(Component.java:4744)
	at java.awt.Container.dispatchEventImpl(Container.java:2141)
	at java.awt.Component.dispatchEvent(Component.java:4572)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
	at java.awt.Container.dispatchEventImpl(Container.java:2127)
	at java.awt.Window.dispatchEventImpl(Window.java:2489)
	at java.awt.Component.dispatchEvent(Component.java:4572)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:710)
	at java.awt.EventQueue.access$400(EventQueue.java:82)
	at java.awt.EventQueue$2.run(EventQueue.java:669)
	at java.awt.EventQueue$2.run(EventQueue.java:667)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
	at java.awt.EventQueue$3.run(EventQueue.java:683)
	at java.awt.EventQueue$3.run(EventQueue.java:681)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:680)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:700)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:521)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
	at java.awt.Dialog$1.run(Dialog.java:1049)
	at java.awt.Dialog$3.run(Dialog.java:1101)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Dialog.show(Dialog.java:1099)
	at java.awt.Component.show(Component.java:1591)
	at java.awt.Component.setVisible(Component.java:1543)
	at java.awt.Window.setVisible(Window.java:843)
	at java.awt.Dialog.setVisible(Dialog.java:984)
	at net.egork.chelper.ui.ParseDialog.<init>(ParseDialog.java:215)
	at net.egork.chelper.ui.ParseDialog.parseContest(ParseDialog.java:260)
	at net.egork.chelper.actions.ParseContestAction.actionPerformed(ParseContestAction.java:23)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:151)
	at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:169)
	at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:132)
	at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:310)
	at java.awt.Component.processEvent(Component.java:6147)
	at java.awt.Container.processEvent(Container.java:2083)
	at java.awt.Component.dispatchEventImpl(Component.java:4744)
	at java.awt.Container.dispatchEventImpl(Container.java:2141)
	at java.awt.Component.dispatchEvent(Component.java:4572)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
	at java.awt.Container.dispatchEventImpl(Container.java:2127)
	at java.awt.Window.dispatchEventImpl(Window.java:2489)
	at java.awt.Component.dispatchEvent(Component.java:4572)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:710)
	at java.awt.EventQueue.access$400(EventQueue.java:82)
	at java.awt.EventQueue$2.run(EventQueue.java:669)
	at java.awt.EventQueue$2.run(EventQueue.java:667)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
	at java.awt.EventQueue$3.run(EventQueue.java:683)
	at java.awt.EventQueue$3.run(EventQueue.java:681)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:680)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:700)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:521)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
On NALP → Codeforces Round #128 (Div. 2), 14 years ago
+2

Hello! Click here and scroll to the bottom of the page. But there is not way to see full test.

On NALP → Codeforces Round #128 (Div. 2), 14 years ago
+1

a.compareTo(a) should return 0, not -1

On Egor → CHelper 2.4, 14 years ago
+3

Install IntelliJ IDEA and follow instructions above. I am using it under Ubuntu — works fine.

On Egor → CHelper 2.4, 14 years ago
0

Maybe you know any methods for "killing" such tasks except rebooting?

Thx.

On Egor → CHelper 2.4, 14 years ago
0

today had this problem... while solving problem A, IDEA became unresponsible... so could not even click that red button.

On Egor → CHelper 2.4, 14 years ago
0

Is it possible to add a new feature like TL for a new task? It will be nice to "kill" a process if its working too long.

On Egor → CHelper 2.4, 14 years ago
0

Will CHelper be autoupdated or no?

On Egor → CHelper 2.4, 14 years ago
0

Strange. I have also used CHelper but it was ok parsing task C.

Who can I disable this script without removing it from chromium? Is there any checkbox for this purpose?

Great job! Thank you!


PS #1:
If my post is "In English" and someone responds in English with "In Russian" radio button checked I cant see his post. Is there possibility to fix this bug? Or to see Russian comments with English interface?

Anyway thank you.
Thx!
Interesting test 22:
Test: #22, time: 2000 ms., memory: 18368 KB, exit code: 0, checker exit code: 0, verdict: TIME_LIMIT_EXCEEDED
Input
40000 60000 3782
2 1 399
3 1 321
4 1 320
5 4 236
6 4 295
7 2 892
8 1 277
9 3 761
10 4 1000
11 4 453
12 7 455
13 9 283
14 10 402
15 4 171
16 6 420
17 4 626
18 14 627
19 12 876
20 7 124
21 5 788
22 7 793
23 6 616
24 8 788
25 1 967
2...
Output
5621
Answer
 
Checker Log
 

why we have TLE with not empty Output ?
On witua → Codeforces Round #104, 15 years ago
+4

decimal record contains only the lucky digits 4 and 7

0 is not a lucky digit.
Why cant we use SortedSet / BigInteger etc in C# ?
Is is possible to include needed libraries / dependencies?

Thanks.

Can somebody help me with this (code) problem (C) ?

Something strange starts from test #13 (look at input params).

From problem statement:
The first line is non-empty string s, consisting of no more than 105 lowercase Latin letters and characters "?". The second line is non-empty string p, consisting of no more than 105 lowercase Latin letters.

PS.
Got Accepted, but the question remains.
On MikeMirzayanov → Codeforces::Gym, 15 years ago
+11
May be its better to download *.pdf, but not *.doc ?
On Gerald → Codeforces Round #103 (Div. 2), 15 years ago
+5

Agree.

Here is my situation.

It would be nice to have time limits like here were done by codechefers.
Is there any possibility to increase time limits for such problems, which impossible to solve in Ruby due to large input data (test 28 for instance)?
Thanks.

Already tried... Here is my submission.

TLE, I think its because input is too large.

Very sad that its impossible to get Accepted on problem B with Ruby.

Here is my code, may be some optimizations?
On KADR → Codeforces Beta Round #97, 15 years ago
+1
really enjoyed the contest, thnx KADR. wish I didn't make a stupid mistake in D :(

example =)
read this.
On KADR → Codeforces Beta Round #97, 15 years ago
0
Thx! Nice script!
We r waiting for updates!
yep. for me its not so comfortable to code with two windows in one.
ruby-ruby... there is no plugin for ruby in gedit to have some +.
I am writing on Ruby and dont like to have terminal and editor windows together.
I am using gEdit + Terminal =D
works like a charme.
On AKGMA → Windows Se7en Source code, 16 years ago
0
funny :)
0
nope
On Tachyon → Manthan 2011, 16 years ago
+1
maybe points for hacking should be decreased?
On Tachyon → Manthan 2011, 16 years ago
0
lets cross our fingers! :)
On Tachyon → Manthan 2011, 16 years ago
0

On Tachyon → Manthan 2011, 16 years ago
+16
and CodeForces too! ;)
On Tachyon → Manthan 2011, 16 years ago
+19
We have a new record of registered users!) Cool!
0
great job! +2!
known bug

>>perfect coders like ACRUSH

nothing is perfect ;)

I ment from user profile to see her/his submissions.
WHERE?
On the_saint → Member photo change day(s), 16 years ago
0
Really like your idea and I think we should do this together with all CodeForces users.
Its really gonna be funny and interesting, some kind of meeting :) where all speak about food, sport, seasons, countries... 
What kind of Q should be asked first?)
"Your fav food?"
"Fav Sport?"
"Fav coding lang?"
...
On the_saint → Member photo change day(s), 16 years ago
0
This bug makes me crazy... :(
On the_saint → Member photo change day(s), 16 years ago
0
да уже писал по поводу этого глюка... :(
не знаю в чем причина... Chromium 5.0.375.125 (53311) Ubuntu 10.04
бесит ужасно... приходится каждый раз копировать текст сообщения, чтобы в случае чего снова вставить... да и удалить нет возможности пустое сообщение.
On the_saint → Member photo change day(s), 16 years ago
0
+5
+5
On SecrofedoC → Adding as a friend, 16 years ago
0
ha-ha))
nothing explosive )) just annoying things... )
On SecrofedoC → Adding as a friend, 16 years ago
0
I think this function is really needed :)
but of course this should have the smallest priority.
On SecrofedoC → Adding as a friend, 16 years ago
0
Why there is no "Block user" function in "Messages"(Private messages)?
0
I had maybe two or three moments when codeforces was down... :(
0
Good luck to everyone!
strange thing adding and editing comments...
Maybe this bug with graphic should be fixed?
New contests?

:) We r waiting for January contests-calendar...
Happy!
red colors... many hacks... short codes and great ideas :)
On ahmed_aly → January Schedule, 16 years ago
0
CodeForces Beta Round tomorrow?)) ah?)
yep, there is no way to seen code having only code-id
very sad :(
I think you dont need here any sort function.
this problem (in my opinion) needs to be solved in one(may be two) for loops - thats all.

yep :)

small mistake.

в вышеприведенной программе ответ не был бы таким :)

Can there be more than one word in problem A

nope

but what will be the answer for such test:

dotdotatatatatatatatdotdot

?

OMG! What was that??

I think you have trouble in this part of your code:

<pre>

if(input.Substring(i,2)=="at")
{
input=input.Substring(0,i)+"@"+input.Substring(i+2);
}

</pre>

reread the statement carrefully ;)

I think you have trouble in this part of your code:

<pre>

if(input.Substring(i,2)=="at")
{
input=input.Substring(0,i)+"@"+input.Substring(i+2);
}

</pre>

reread the statement carrefully ;)

I think you have trouble in this part of your code:

<pre>

if(input.Substring(i,2)=="at")
{
input=input.Substring(0,i)+"@"+input.Substring(i+2);
}

</pre>

reread the statement carrefully ;)

I think you have trouble in this part of your code:

<pre>

if(input.Substring(i,2)=="at")
{
input=input.Substring(0,i)+"@"+input.Substring(i+2);
}

</pre>

reread the statement carrefully ;)

I think you have trouble in this part of your code:

<pre>

if(input.Substring(i,2)=="at")
{
input=input.Substring(0,i)+"@"+input.Substring(i+2);
}

</pre>

reread the statement carrefully ;)

I think you have trouble in this part of your code:

<pre>

if(input.Substring(i,2)=="at")
{
input=input.Substring(0,i)+"@"+input.Substring(i+2);
}

</pre>

reread the statement carrefully ;)

show me your code ( http://paste.ubuntu.com )
may be I can help you

really nice problems!

thanks to authors and CodeForces!

well done!

FAQ really needed on CodeForces.
:D yep
This idea was proposed a long long time ago... really needed function.
+2
+2 really great idea :D
:D it worth it!
First test != Sample test
So try this test:
3000
1 2 3 4 5 6 7 ...... 3000
I had the same problem and this test helped me to find my bug:
5
-1 -2 -6 -3 -4
On onlyone → Solution of A\B\C @ Round#27, 16 years ago
0
Here are my solutions for example:
Problem A
Problem B
Problem C
Problem E (example)
This test helped me:
5
-1 -2 -6 -3 -4
First idea that came to me :D
pls, show your code.
U r right too! There are 2 solutions, so there are two answers to choose to output!
yep)
I solved it using Topological Sorting
yep!
the answer is 3001
nope!
answers are:
(1)
3
1 2 4

(2)
3
1 3 4
thanks for a hint about equal numbers! it helped me!
found my bug.
test:
6
2 2 3 3 2 2
try test:
3000
1 2 3 4 5 6...... 3000

;)
+1
Also need this test!
On f.pouranph → Who is me ?, 16 years ago
+1
Wellcome to CodeForces!
On MikeMirzayanov → Codeforces Contests, 16 years ago
0
I think it will be great to creat a raiting table for each room, something like on TopCoder, very comfortable. And from this table to have possibility to open users source codes for each task and also problem's text.
hm?
Agree with you! We need C# 4.0 to use all its power :)
On SyFy → Codeforces Beta Round #24 (div2), 16 years ago
+1
Yep! I have changed the topic name.
On SyFy → Codeforces Beta Round #24 (div2), 16 years ago
0
I wish I knew...
On SyFy → Codeforces Beta Round #24 (div2), 16 years ago
0
We dont know... :(
waiting for any information from Mike or other main persons.
On SyFy → Codeforces Beta Round #24 (div2), 16 years ago
0
Here?) Where if there is no report about #24 Beta Round?