OJ Board
The Online Judge board
Skip to content
Search
Advanced search
Quick links
Unanswered topics
Active topics
Search
FAQ
Login
Register
Board index
Search
Search
Search found 12 matches
Go to advanced search
Search
Advanced search
Search found 12 matches • Page
1
of
1
by
kawsar
Wed Aug 18, 2010 8:10 am
Forum:
Volume 4 (400-499)
Topic:
412 - Pi
Replies:
104
Views:
30272
412 - Some spacial input-output for 412 program
I found every time Wrong Answer for this problem...
Is there any spacial input output for this problem ???
If there , then any one please give me the input output.... I am so fucked up for this problem...
Help me...........!!!
Jump to post
by
kawsar
Sat Aug 14, 2010 8:45 pm
Forum:
Volume 3 (300-399)
Topic:
348 - Optimal Array Multiplication Sequence
Replies:
22
Views:
6653
Re: 348 WA
I got accepted......
:)
Jump to post
by
kawsar
Sat Aug 14, 2010 8:44 pm
Forum:
Volume 3 (300-399)
Topic:
348 - Optimal Array Multiplication Sequence
Replies:
22
Views:
6653
Re: 348: Why am i getting wrong answer?
Thanks......,
Mr. Tommy Wu
For your simple input output, i found my mistake in my program.
Thanks a lot.....
Bye.
Jump to post
by
kawsar
Tue Aug 10, 2010 3:45 pm
Forum:
Volume 4 (400-499)
Topic:
490 - Rotating Sentences
Replies:
212
Views:
48078
Re: 490 - Rotating Sentences
#include<stdio.h>
#include<string.h>
#include<ctype.h>
int main(){
char a[1000][1000], x[1000], c ;
int i=0, p=0, j, k, n ;
while (c = getchar ()) {
if (c == EOF)
return 0;
n = 0 ;
if(isalpha(c))
x[n++] = c ;
while((c=getchar()) != '\n')
if(isalpha(c))
x[n++] = c ;
x[n] = '\0 ...
Jump to post
by
kawsar
Tue Aug 10, 2010 11:47 am
Forum:
Volume 100 (10000-10099)
Topic:
10026 - Shoemaker's Problem
Replies:
82
Views:
46906
Re: 10026 - Shoemaker's Problem
Thanks, Zwergesel.
I got accepted.
Thanks for reply....
bye.
Jump to post
by
kawsar
Sun Aug 08, 2010 4:22 am
Forum:
Volume 100 (10000-10099)
Topic:
10026 - Shoemaker's Problem
Replies:
82
Views:
46906
Re: 10026 - Shoemaker's Problem
Can any one help me to find out , why i getting presentation error ???
several times i submit this code, but every time i got presentation error.
Please help me ...........
Here is my code,
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int compair(const void *a, const void *b){
float ...
Jump to post
by
kawsar
Sun Aug 08, 2010 4:09 am
Forum:
Volume 100 (10000-10099)
Topic:
10038 - Jolly Jumpers
Replies:
445
Views:
152649
Re: 10038 - Jolly Jumpers
I got accepted....just a few change of my code.
Thanks.
Jump to post
by
kawsar
Sun Aug 08, 2010 3:13 am
Forum:
Volume 100 (10000-10099)
Topic:
10038 - Jolly Jumpers
Replies:
445
Views:
152649
Re: 10038 - Jolly Jumpers
Why i get WA, every time ??
can anyone explain about this problem.
#include<stdio.h>
#include<stdlib.h>
int main(){
long n, a[3000], b[3000], i, j ;
while(scanf("%ld",&n)==1){
for(i=0; i<n; i++)
scanf("%ld",&a );
if(n == 0 || n == 1){
printf("Jolly\n");
continue;
}
j=0;
for(i=1; i ...
Jump to post
by
kawsar
Sat Aug 07, 2010 1:27 pm
Forum:
Volume 3 (300-399)
Topic:
348 - Optimal Array Multiplication Sequence
Replies:
22
Views:
6653
348 WA
I got accepted....bye.
:):):):):)
Jump to post
by
kawsar
Thu Aug 05, 2010 8:49 pm
Forum:
Volume 4 (400-499)
Topic:
443 - Humble Numbers
Replies:
82
Views:
18053
443 Wrong Answer
#include<stdio.h>
#include<math.h>
#include<stdlib.h>
void InsertionSort(long m[], long n){
long i, k, key;
for(k=2;k<=n;k++){
key = m[k];
i=k-1;
while(i>0 && m >key){
m[i+1]=m ;
i--;
}
m[i+1]=key;
}
}
int main(){
long i, j, k, l, n ;
long a[10000] ;
double x ;
n = 0 ;
for(i=0 ...
Jump to post
by
kawsar
Thu Aug 05, 2010 8:27 pm
Forum:
Volume 4 (400-499)
Topic:
412 - Pi
Replies:
104
Views:
30272
412 Wrong answer
#include<stdio.h>
#include<math.h>
long a[1000000];
int main(){
long n, i, j, x, p, q ;
while(scanf("%ld",&n)==1){
long num =0, sum=0;
if(n == 0)
return 0;
for(i=0; i<n; i++)
scanf("%ld",&a );
for(i=0; i<n; i++){
for(j=i+1; j<n; j++){
num++;
if(a == 1 && a[j]==1){
sum ...
Jump to post
by
kawsar
Thu Aug 05, 2010 7:58 pm
Forum:
Volume 4 (400-499)
Topic:
490 - Rotating Sentences
Replies:
212
Views:
48078
490 wrong answer
#include<stdio.h>
#include<string.h>
int main(){
char a[1000][1000], x[1000], c ;
int i=0, p=0, j, k, n ;
while (c = getchar ()) {
if (c == EOF)
return 0;
n = 0 ;
x[n++] = c ;
while((c=getchar()) != '\n')
x[n++] = c ;
x[n] = '\0' ;
if(strlen(x) > p)
p = strlen(x) ;
strcpy(a ,x ...
Jump to post
Display:
All results
1 day
7 days
2 weeks
1 month
3 months
6 months
1 year
Sort by:
Author
Post time
Forum
Topic title
Post subject
Direction:
Ascending
Descending
Search found 12 matches • Page
1
of
1
Go to advanced search
Jump to
Real Time Contests and Last Minute Information
↳ General
↳ Real Time Clarification
↳ Fixing Mistakes
↳ HOWTOs
↳ Bugs and suggestions
New system
↳ FAQ
↳ Bugs and suggestions
Let's make some programs!
↳ Other words
↳ Algorithms
↳ New features
Help on the Problemset
↳ Volume 1 (100-199)
↳ Volume 2 (200-299)
↳ Volume 3 (300-399)
↳ Volume 4 (400-499)
↳ Volume 5 (500-599)
↳ Volume 6 (600-699)
↳ Volume 7 (700-799)
↳ Volume 8 (800-899)
↳ Volume 9 (900-999)
↳ Volume 10 (1000-1099)
↳ Volume 11 (1100-1199)
↳ Volume 12 (1200-1299)
↳ Volume 13 (1300-1399)
↳ Volume 14 (1400-1499)
↳ Volume 15 (1500-1599)
↳ Volume 16 (1600-1699)
↳ Volume 17 (1700-1799)
↳ Volume 100 (10000-10099)
↳ Volume 101 (10100-10199)
↳ Volume 102 (10200-10299)
↳ Volume 103 (10300-10399)
↳ Volume 104 (10400-10499)
↳ Volume 105 (10500-10599)
↳ Volume 106 (10600-10699)
↳ Volume 107 (10700-10799)
↳ Volume 108 (10800-10899)
↳ Volume 109 (10900-10999)
↳ Volume 110 (11000-11099)
↳ Volume 111 (11100-11199)
↳ Volume 112 (11200-11299)
↳ Volume 113 (11300-11399)
↳ Volume 114 (11400-11499)
↳ Volume 115 (11500-11599)
↳ Volume 116 (11600-11699)
↳ Volume 117 (11700-11799)
↳ Volume 118 (11800-11899)
↳ Volume 119 (11900-11999)
↳ Volume 120 (12000-12099)
↳ Volume 121 (12100-12199)
↳ Volume 122 (12200-12299)
↳ Volume 123 (12300-12399)
↳ Volume 124 (12400-12499)
↳ Volume 125 (12500-12599)
↳ Volume 126 (12600-12699)
↳ Volume 127 (12700-12799)
↳ Volume 128 (12800-12899)
↳ Volume 129 (12900-12999)
↳ Volume 130 (13000-13099)
↳ Volume 131 (13100-13199)
Help on languages
↳ C
↳ C++
↳ Pascal
↳ Java
Off Topic
↳ Off topic (General chit-chat)
Category
↳ ACM ICPC Archive Board