| Show all threads Hide all threads Show all messages Hide all messages |
| No subject | Roman Rubanenko | 1945. Many-armed Brothers | 5 Jan 2013 16:39 | 2 |
Can we consider a guy with one hand to be a brother of another one with three hands if there is no 2-hands guy in input data? Of course g>=3 in this case. Yes, if g>=3 then 1-hand and 3-hands guys may be brothers. And their 2-hands brother just didn't go to cinema. :) |
| WA1 Is the first test from task? | Birne Ageev [USU] (Psych up club) | 1948. The Robot on the Line | 5 Jan 2013 16:03 | 4 |
Re: Yes. (-) Birne Ageev [USU] (Psych up club) 5 Jan 2013 16:01 Re: Yes. (-) Birne Ageev [USU] (Psych up club) 5 Jan 2013 16:03 f**king #ifndef ONLINE_JUDGE Sorry for stupid questions. |
| WA#1 | Rushboy | 1428. Jedi Riddle | 5 Jan 2013 16:02 | 1 |
WA#1 Rushboy 5 Jan 2013 16:02 why? here is the code: #include <iostream> #include <cmath> using namespace std; int main(){ long long X,Y,Z,k,l,m; short A,B,C; cin>>A>>B>>C; k=(C-1)/A; l=(C-1)/B; X=1;Y=1; for(long i=1;i<=k;i++) X*=2; for(long i=1;i<=l;i++) Y*=2; cout<<X<<" "<<Y<<" "<<"2"; return 0; } |
| Problem about H | mbrc | 1948. The Robot on the Line | 5 Jan 2013 15:59 | 2 |
Will the total dist travelled after k seconds be f(x)+f(x+1)+f(x+2)+...f(x+k-1) or it will be f(x+k-1) just? Thanks! f(x)+f(x+1)+f(x+2)+...f(x+k-1) |
| Question 1 | sklyack | 1949. The Best Picture in the Galaxy | 5 Jan 2013 15:47 | 1 |
Can student end watch one movie and start watch another one at the same moment? UPD: yes. Edited by author 05.01.2013 15:50 |
| How many cases here? | hnustpengtuo | 1941. Scary Martian Word | 5 Jan 2013 15:43 | 3 |
<- Edited by author 05.01.2013 15:44 |
| What is the answer to this test? | Anatoly | 1941. Scary Martian Word | 5 Jan 2013 15:40 | 2 |
aaa aaa bbb aaa aaa bbb ccc aaa zzz aaa bbb ccc I think that it should be 1. right? |
| Clarification | forest | 1942. Attack at the Orbit | 5 Jan 2013 15:03 | 1 |
Is it true that lazer beam should begin at origin ? |
| Why wa5? Help me please...... | ZGJY | 1441. From the History of Gringotts Bank | 5 Jan 2013 14:49 | 1 |
|
| Axis | pmartynov | 1944. Record of the Attack at the Orbit | 5 Jan 2013 14:40 | 3 |
Axis pmartynov 5 Jan 2013 13:50 Assume maxX is -1 and minY is -2. Is it correct that there should be no axis on the graph? Edited by author 05.01.2013 13:51 The first line should correspond to the maximum value of y (or 0) Ah, sorry got it. |
| ANSISTRING | [TDUweAI] daminus | 1941. Scary Martian Word | 5 Jan 2013 13:33 | 2 |
Can ansistring (pascal) take 500000*3+const symbols? Edited by author 05.01.2013 14:25 |
| Real numbers | 2rf | 1942. Attack at the Orbit | 5 Jan 2013 13:07 | 1 |
Is ".5" real number? Same question about "1." UPD: looks like ".5" is not, about "1." I'm not sure but there isn't much trouble with such numbers. Edited by author 05.01.2013 13:20 |
| WA#4 | [TH0412]tdson | 1110. Power | 5 Jan 2013 09:15 | 2 |
WA#4 [TH0412]tdson 27 Dec 2012 08:31 #include<iostream> #include<cmath> using namespace std; int tinh(int x, int n) { int temp = 1; for(int i = 0; i < n; i++) temp *= x; return temp; } void main() { int n, m, y, x; bool flag = true; cin >> n >> m >> y; for(x = 0; x < m; x++) { if(tinh(x, n)%m == y) { cout << x << " "; flag = false; } } if(flag) cout << -1; } tinh(x, n) may produce a very big number that leading overflow |
| test2 | Vlad | 1348. Goat in the Garden 2 | 5 Jan 2013 03:57 | 1 |
test2 Vlad 5 Jan 2013 03:57 let me know test 2 please...! |
| Is there a simple solution? | Squid | 1353. Milliard Vasya's Function | 4 Jan 2013 19:53 | 3 |
I have AC, but it seems to me that my algo isn't the best. I used DP. Is there any formula? |
| Doing nothing exceeds the memory limit in Java | Peter Lawrey | 1220. Stacks | 4 Jan 2013 19:14 | 1 |
If I run public class Stacks { public static void main(String... args) { System.gc(); } } It reports I exceed the memory limit with a usage of 4885 KB. public class Stacks { public static void main(String... args) { System.gc(); } } Reports 326 KB used. How is the memory usage determined. I assume you cannot have your managed memory trigger a GC which is a bit restrictive for Java. |
| spelling 'consiquently' ===> 'consequently' | DR. Zhihua Lai | 1940. Not So Simple Years | 4 Jan 2013 00:21 | 2 |
|
| can anyone send me solution of this question? please ! (my mail is: erzhan_jktl@mail.ru) | Erzhan Shaniev | 1073. Square Country | 3 Jan 2013 08:38 | 2 |
Could you tell me case for Text 14.Thank You |
| WA 14!!!! | Toy | 1073. Square Country | 3 Jan 2013 08:11 | 1 |
Could you give me case for 14.Thank you. |
| The test case! | earthworm | 1003. Parity | 3 Jan 2013 06:35 | 1 |
|