Comments
|
0
Sorry. Fixed.
|
|
On Nerevar →
School Individual Contest #2 (WCS 2010/11) - Codeforces Beta Round #43 (ACM-ICPC Rules), 17 months ago
+3
Thanks.
|
|
On Nerevar →
School Individual Contest #2 (WCS 2010/11) - Codeforces Beta Round #43 (ACM-ICPC Rules), 17 months ago
+3
Task E, test #3:
3 3 -3 -4 2 -1 2 -1 -4 -3 0 |
|
-11
Yes, you are right. If the calculated value of Δi, j is negative, the result should be 0.
|
|
+16
For those who are not familiar with file IO, there are several solutions of "A*B" problem in some popular programming languages: Pascal / Delphi:
var
a, b: longint;
begin
assign(input, 'input.txt');
assign(output, 'output.txt');
reset(input);
rewrite(output);
read(a, b);
writeln(a * b);
close(input);
close(output);
end.
C/C++: #include <stdio.h> Java:
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws FileNotFoundException {
Scanner s = new Scanner(new File("input.txt"));
int a = s.nextInt();
int b = s.nextInt();
s.close();
PrintWriter writer = new PrintWriter("output.txt");
writer.println(a * b);
writer.close();
}
}
|
|
+6
No. It is exponential.
|
|
0
No. But it seems to be a good idea.
|
|
-5
No excuse. A shame for a target on TC to suggest such things.
|
|
-2
Measure thrice and cut once :))
|
|
-1
I think that for your faster growth in programming competitions it will be better if you find bugs by yourself. Learn to carefully test your program, verifying is't correctness on different corner cases or doing a stress-test with some brute-force solution.
|
|
0
Russia occupies 11 time zones :) It is almost impossible to satisfy everyone here ;) Speaking seriously: I wanted to say that we should ignore NA if we want to satisfy the majority of participants. But sometimes (maybe 2 or 3 times rarely) we have to schedule competitions for the times appropriate for participants from NA. It depends only on the number of participants from the particular region, not from our attitude to US or Canada:)
|
|
0
It's better to say "Moscow morning":) 15:00 MSK or 16:00 MSK are reasonable times in Europe, Asia, Africa and even in Brazil and Argentina, especially if we talk about the Sunday. So, if your goal is to satisfy the majority of participants, there is no reason to care about the Nothern America:)
|
|
+12
a
|
|
0
It seems that this post was added incorrectly, because of two reasons:
1) it can be seen in "Recent Actions" with russian locale switched on 2) comments for the russian post did not become comments for it's translation Probably everything is OK and I just misunderstand something. |



