Comments
On EgorCHelper 2.4, 4 weeks ago
0

Is it same with Java 1.6? I have about the same configuration, but no warning about unused library.

On EgorCHelper 2.4, 4 weeks ago
+5

It is still the same even after visiting that link, probably some issues with Chinesse firewall?

On EgorCHelper 2.4, 4 weeks ago
+8

You better run Main.java from idea by, for example, right clicking on Main.java and selecting “Run ‘Main.main()’”

On EgorCHelper 2.4, 4 weeks ago
+5

Sorry, all I can see is some ieroglyphs, exclamation mark in speech bubble and “hi.baidu.com”

On EgorCHelper 2.4, 4 weeks ago
+8

That’s ok — Main.class is class file, not java file, and all class files are generated in out

On EgorCHelper 2.4, 4 weeks ago
+8

No need to do this for sure. I defenately do not do this, but I have separate module for Main.java

That is because usually all 11 years are spent in the same school. There is elementary (starter in Russian) school first 4 years and high (middle in Russian) school distinction, but they are considered 2 parts of education that are provided in the same institution, hence all it students are usually referred to as students. By the way, universities in Russia are commonly reffered as “Высшая школа” which literally translate to high school, which leads to a lot of confusion

On EgorCHelper 2.4, 4 weeks ago
0

Sorry for late reply, was a bit busy lately

Could you please provide screenshot of dependecies tab?

On EgorCHelper 2.4, 4 weeks ago
+8

Input/output files should be in project root

That is very strang you have problems with Main.java. There should be Main class inside with main method. Could you please make a screenshot?

Pupil

On EgorCHelper 2.4, 5 weeks ago
+8

I do not know of any rule that forbids using it

You just need first set up read/write from file (i. e. choosing custom in Inpu and Output) and thenm after testing on samples and downloading input, to run created class’ main method wherever it lies (src by default)

On EgorCHelper 2.4, 6 weeks ago
+5

Had you added plug-in file to classpath as described in manual?

Also — is there any standings available?

I hope in case of several identical submits when last one got Accepted and all previous were judged Internal Error time of first such submit will be taken into account

2. It will be open for all STUDENTS, no professional will be allowed.

Quote from CodeChef page for this contest. Somewhat contradicts This contest is open to all.

On kuniavskiCodeforces Round #114, 7 weeks ago
0

For Java check this

There are some tools to parse tests for other languages, cannot easily locate them through

On kuniavskiCodeforces Round #114, 7 weeks ago
+29

My screencast will be here shortly

Not very eventful through as I spent most of my time with pen and paper ;)

+11

I think retyping of solution is not desired either — but it in any case should be mentioned in the rules

+12

Common sence — otherwise it would be copyable

On codeKNIGHTTocoder SRM-537, 2 months ago
+23

Please notice, that DST is already in force in USA, hence for most of the world SRM would be one hour earlier then it is common for Saturday SRMs

On Burunduk2VK Cup 2012 Round 1, 2 months ago
+12

Round was supposed to be rated for everyone, but technical mistake in round setup spoiled this

On EgorCHelper manual, 2 months ago
0

Check emotionalBlind’s comment at the bottom, maybe you have same problem

On EgorCHelper manual, 2 months ago
0

Yes

It seems for whatever reason Idea considers readLong method as used. Could you open your created source (i.e. Main.java) in Idea and see if method name is grayed out as unused or not?

On EgorCHelper manual, 2 months ago
0

Strange, not repetable on my computer By the way, you can use Test Type: MULTI_TEST, that’s exactly why that type was created

On EgorCHelper manual, 2 months ago
0

That is bug in TopCoder algorithm, I receive that warning quite regular, but never had my submission judged as UCR violation after I started to use Java. Can you point to your codechef submit where inlining/unused code removal had not worked?

Later, Mike answered same question in Russian

On EgorCHelper manual, 3 months ago
+1

In the created source (the one you will submit to the server) all unused methods will be removed

On EgorCHelper manual, 3 months ago
+1

Well, it should be somewhere under source — just like for any Java project

On EgorCHelper manual, 3 months ago
+2

Are you sure your method was public?

On EgorCHelper manual, 3 months ago
0

Anywhere it will be visible fromyour solution

On EgorCHelper manual, 3 months ago
0

You need to create some class, like IntegerUtils and create static method isPrime. Then you can use it in your solutions

On GlebsHPCodeforces Round #107, 3 months ago
0

Why? Alex don’t has a taxi number, but has “other” number. Both have one pizza number

On GlebsHPCodeforces Round #107, 3 months ago
+5

Could you elaborate? What’s the difference in this context?

On GlebsHPCodeforces Round #107, 3 months ago
+2

We do not need a string, that should satisfy the constraint. We just required that ANY string must satisfy the constraint

On GlebsHPCodeforces Round #107, 3 months ago
+22

Than any string will do as there is no restriction

I think the question is — we have set of points, rotate them by random angle (evenly distributed). Than we count average number of comparisions. Qustion is — what is the biggest value of this average?

Well, he mentioned at least one such algorithm — Divide and conquer. The problem is it is still quite complex to implement

I solved it using min cost max flow. At first you make add edge of capacity 1 and weight 0 for each pair of prefernces as well from source to each student. Also we will add edge from each faculty to sink with capacity 1 and weight 1. Then we will find flow of size 1 n times and if all edges from faculty to sink are filled add one more edge with capacity 1 and weight (number of allready added edges from this faculty to sink) + 1

Java compiler considers warnings as errors, can you fix this?

I cannot submit as of now, rights?

On EgorCHelper manual, 3 months ago
0

It should generate the Main file when you run or debug created configuration

On EgorCHelper manual, 3 months ago
0

Nothing is working or only contest parsing?

On EgorCHelper manual, 3 months ago
0

For SRM 531 D2 250 empty arrays were handled incorrectly. I will fix this ASAP As SRM 530 currently unavailable I’ll look into that later

Thank you for this Also I hope this year all limits on input data would be available from the start

Actually there is standard tl and ml, at least that was the case for some last years

For the God sake, it is 2012. Still no Java?

On EgorCHelper manual, 3 months ago
0

I’ll look into it

On EgorCHelper manual, 4 months ago
0
You just need to write class and put it somewhere under your source (e.g. in src/nova directory) and then fill nova.MyInputClass under inputClass in chelper.properties
On EgorCHelper manual, 4 months ago
+3
You just need to make sure that your class takes InputStream as argument and has method next, which returns next token from input as string. Everything else you can write as you like
On EgorCHelper manual, 4 months ago
+3
Yep, would change it in next version
On EgorCHelper manual, 4 months ago
0
Just noticed - you copied chelper.properties to src directory, but it should be in project root
On EgorCHelper manual, 4 months ago
0
Had you restarted Idea after copying chelper.properties?
On EgorPlugin - reload, 5 months ago
0
Класс InputReader в том пакете, где вы его создали. Он вместе с плагином не поставляется
Набирать ручками каждый раз ничего не надо, конечно. Просто создайте один раз класс и используйте. Единственное требование - в нем должен быть конструктор от InputStream и метод next
On EgorPlugin - reload, 5 months ago
0
Нигде. Нужно только перезагрузить идею (ну и не забыть написать InputReader ;))
On EgorPlugin - reload, 5 months ago
0
Sorry for late reply. 2.33 addresses exactly this issue
You can send a generator
It is, but in C++ there are no range check, so trying to hack for being out of bounds for array/vector are very risky (expecially with off be one errors)
It is not correct as function is not monotonic. baaab has good string of length 5, but not of length 4
On KADRCodeforces Beta Round #97, 5 months ago
+1
Due to bug in build process incorrect jar file was uploaded. Please redownload
On KADRCodeforces Beta Round #97, 5 months ago
+10
В связи с изменением формата страниц Codeforces прошу обновить CHelper до последней версии

---

Due to format of Codeforces pages change please update CHelper to the latest version
On EgorPlugin - reload, 5 months ago
0
It worked fine for me. Are you sure you are using last version? (it was fixed in version 2.01, I believe)
On EgorCHelper manual, 5 months ago
+1
You either had not copied it to correct folder or had not restarted Idea since
On EgorCHelper manual, 6 months ago
0
Unfortunately, no
There is Objective-C IDE form JetBrains which in beta test yet AFAIR
Yes it is. I read a lot of novels in English lately and that was one of quite a few discoveries I made (other one, for expample, that breakfast has nothing to do with 'quick' meaning of fast)
Actually, CHelper uses moj as arena plugin. Main feature it provides for TC tasks - code inlining and unused code elemination. Testing functionality is more useful for standard tasks
On EgorPlugin - reload, 6 months ago
+11
Now it is official - Petr uses CHelper :)
On EgorCHelper v2.2, 6 months ago
0
No, but I never tried to create menu, just added icons to toolbar
Codeforces recently started to vary contest times
On EgorCHelper v2.2, 6 months ago
0
That java file would be created automatically when you use correct plug-in
On EgorCHelper v2.2, 6 months ago
0
Exception is thrown because you tried to run task without associated .java file (I think, you tried to create task manually)
On EgorCHelper v2.2, 6 months ago
0
Defenately would not work - try using moj. It also works with FileEdit and CodeProcessor
On EgorCHelper v2.2, 6 months ago
0
I'm not sure - if it generates similar code (i.e. my parser able to parse tests from code generated by your plugin) - it should be ok. TopCoder tasks should generate automatically when you open task in arena if it correctly parsed. My own TC plug-in which would just pass needed info to Idea plugin is in plans
On EgorCHelper v2.2, 6 months ago
0
Are you sure you use moj as topcoder plug-in?
In order to inline code you need to run your problem using either Run (Shift+F10) or Debug (Shift+F9)
On EgorCHelper v2.2, 6 months ago
+1
That exception happens when file associated with task (i.e. Task.java) is deleted. I will wrap it with apporopriate actions (dialog that would suggest to delete task) in the next version
What is suspectible in your configuration that is TopCoder directory - are you sure it is relative path from project root and source directory in default package?
I would like to make screencast, but currently do not have access for computer, which has small enough monitor but powerful enough processor.
On EgorPlugin - reload, 6 months ago
-8
For TopCoder - you need to use moj plugin for arena and configure it to save files to topcoderDirectory from your config. Codechef tasks are generated from the same place as Codeforces, you just need to select Codechef in combobox 2. You need to modify getCertainty method of TaskAChecker
On EgorCHelper v2.2, 6 months ago
+3
I'll andwer you after today's COCI contest
On EgorPlugin - reload, 6 months ago
-8
Please update and report any changes (use plus button)
On EgorPlugin - reload, 6 months ago
-8
What plug-in version do you have? If 2.2, do you click onarrow button or plus button
On SammarizeCodeforces Beta Round 94, 6 months ago
0
O(n + k)
On SammarizeCodeforces Beta Round 94, 6 months ago
+3
This solution do not use any suffix strcture at all
On SammarizeCodeforces Beta Round 94, 6 months ago
+1
For test abbbbb....b and k = 100000, it will create strings of total size k2 / 2. 
On EgorPlugin - reload, 6 months ago
+12
Please, do not use absolute paths in config. Use paths relative to project root, like src/My for default directory and src for output directory. Also all configured folders (aside from archive, which may be wherever) should be under path of some module of your project
On EgorPlugin - reload, 6 months ago
+1
Very small part of it is task generator for Codeforces, and no, it can't be used in C++
On RipattiCodeforces Beta Round #93, 6 months ago
0
If your question is how do I use it, answer is here
On RipattiCodeforces Beta Round #93, 6 months ago
-2
My solution do not use hashes
On EgorPlugin - reload, 6 months ago
0
In "Menus and Toolbars" dialog you need to select some item on main toolbar, click "Add after...", in "Choose Acrions To Add" - "Plug-ins"->"CHelper", and then select ones you need (using control key) and press OK
On EgorPlugin - reload, 6 months ago
0
Are you sure you've restarted Idea after putting file to correct folder?
On EgorPlugin - reload, 6 months ago
0
Folder where you put plugin is incorrect - it should be in your home directory (like c:\Users\codeKNIGHT\.IntelliJIdea10\config\plugins\)

Just like there are national masters there exist national grandmasters - at least in Russia. Unlike national masters, all but one Grandmasters of USSR were also IGM, but not the other way around. I do not have similar statistics for Russia

On aropanCodeforces Beta Round #92, 6 months ago
+11
I think Petr meant contribution as on a more popular IT Russian site habrahabr same thing is called karma
On aropanCodeforces Beta Round #92, 6 months ago
0
Actually is does. "Строчная" is lower case while "Прописная" is upper case
On aropanCodeforces Beta Round #92, 6 months ago
-1
Essential change of problem statement and pretests
On aropanCodeforces Beta Round #92, 6 months ago
+31
Sorry to say, but this is very bad contest - no original ideas involved, just standard problems with some obious addons. B had some potential, but only with corner case (a = 1, b != 1)
On aropanCodeforces Beta Round #92, 6 months ago
+21
It is. Statement of problem had changed during contest, as well as correct solution (that correctly handles a == 1 || b == 1) not passing pretests until deep into the contest
+3
It is only for IntelliJ Idea. There is community edition which is free
0
As said above, my plug-in is supposed to do exactly what you want in your first question
You need to use files "input.txt"/"output.txt" for input/output
On SeregaCodeforces Beta Round #90, 7 months ago
+1
But we already saw all 3 cards
On SeregaCodeforces Beta Round #90, 7 months ago
+6
8 3
1 2 3 4 5 6 7 8
3
3 4
5 6
7 8
Correct answer is 3.5 7.5, not 1.5 7.5
On SeregaCodeforces Beta Round #90, 7 months ago
+36
Trick is we can already saw all k cards, but there are enough theorems to form one more card of the same size. Say n = 13 and k = 5