Search found 185 matches
- Wed Aug 10, 2005 2:35 am
- Forum: Volume 108 (10800-10899)
- Topic: 10894 - Save Hridoy
- Replies: 15
- Views: 10875
- Wed Aug 10, 2005 1:55 am
- Forum: Volume 108 (10800-10899)
- Topic: 10894 - Save Hridoy
- Replies: 15
- Views: 10875
10894 - Save Hridoy
I wanna ask a small problem in the program. It's about the method in printing the string of length n. Let me assume that n<6. Method 1 s[6]="*****"; s[n]='\0'; printf("%s",s); s[n]='*'; Method 2 for(x=0;x<n;x++) putchar('*'); The method 1 got WA and the method 2 got AC. But I wan...
- Sat Aug 06, 2005 4:40 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10883 - Supermean
- Replies: 30
- Views: 16440
10883
I passed the sample input but got WA. Is it the precision problem?
- Sat Jul 09, 2005 1:45 am
- Forum: Volume 108 (10800-10899)
- Topic: 10868 - Bungee Jumping
- Replies: 13
- Views: 6301
I have a question. According to your formula, the x will be 2wg/k, i.e. the x for the first set of data in the problem will be about 4.2, which is less then the difference between 20 and 30 and we will get the answer as stucking in the air. I think Bond jumps from the top to the lowest height. The l...
- Mon Feb 21, 2005 2:51 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10813 - Traditional BINGO
- Replies: 28
- Views: 13103
- Fri Feb 18, 2005 4:33 am
- Forum: Volume 108 (10800-10899)
- Topic: 10813 - Traditional BINGO
- Replies: 28
- Views: 13103
- Thu Feb 17, 2005 11:41 am
- Forum: Volume 108 (10800-10899)
- Topic: 10813 - Traditional BINGO
- Replies: 28
- Views: 13103
I still don't know why. It's too easy for me to get ac. Please help me check the in/output 2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 30 31 32 33 34 11 12 13 14 1 2 3 4 5 6 7 8 9 10 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ...
- Thu Feb 17, 2005 3:40 am
- Forum: Volume 108 (10800-10899)
- Topic: 10813 - Traditional BINGO
- Replies: 28
- Views: 13103
And this case? 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 30 31 32 33 34 11 12 13 14 1 2 3 4 5 6 7 8 9 10 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 The ...
- Sun Jan 02, 2005 9:49 am
- Forum: Volume 8 (800-899)
- Topic: 884 - Factorial Factors
- Replies: 49
- Views: 34498
884 - Factorial Factors
I got AC at such a really slow speed. Could someone give your suggetion about speeding up the program?
- Sun Dec 12, 2004 2:13 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10791 - Minimum Sum LCM
- Replies: 46
- Views: 28535
- Sun Dec 12, 2004 1:32 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10791 - Minimum Sum LCM
- Replies: 46
- Views: 28535
- Sun Dec 12, 2004 11:20 am
- Forum: Volume 107 (10700-10799)
- Topic: 10791 - Minimum Sum LCM
- Replies: 46
- Views: 28535
10791 - Minimum Sum LCM
How about the following in/output?
in:
2342
2343
34
1
234
678
67223
76627567
334
787890
787611
0
out:
Case 1: 1173
Case 2: 104
Case 3: 19
Case 4: 2
Case 5: 31
Case 6: 119
Case 7: 5184
Case 8: 22408
Case 9: 169
Case 10: 131321
Case 11: 23900
Could someone give some critical case?
in:
2342
2343
34
1
234
678
67223
76627567
334
787890
787611
0
out:
Case 1: 1173
Case 2: 104
Case 3: 19
Case 4: 2
Case 5: 31
Case 6: 119
Case 7: 5184
Case 8: 22408
Case 9: 169
Case 10: 131321
Case 11: 23900
Could someone give some critical case?
- Wed Nov 24, 2004 12:23 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10780 - Again Prime? No Time.
- Replies: 40
- Views: 33500
- Wed Nov 24, 2004 11:48 am
- Forum: Volume 107 (10700-10799)
- Topic: 10780 - Again Prime? No Time.
- Replies: 40
- Views: 33500
- Wed Nov 24, 2004 11:03 am
- Forum: Volume 107 (10700-10799)
- Topic: 10763 - Foreign Exchange
- Replies: 45
- Views: 23542