I've searched past threads about 10062 but still couldn't figure out what's wrong with my code... I tried i/o from the problem and from some threads here, it's giving the right answer...
anyone can help? here's my code..
#include <stdio.h>
#include <stdlib.h>
struct insert
{
char ascii;
int ...
Search found 2 matches
- Tue Aug 29, 2006 8:56 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10062 - Tell me the frequencies!
- Replies: 235
- Views: 70217
- Mon Aug 28, 2006 10:05 pm
- Forum: Volume 5 (500-599)
- Topic: 530 - Binomial Showdown
- Replies: 137
- Views: 49179
530 - Runtime Error... need i/o samples
I've searched past threads for #530 - Binomial Showdown, but still couldn't find what's wrong with my code. Can anyone here help? Thx in advance!
Here's my code:
#include <stdio.h>
int main()
{
unsigned long n, k, i,j;
unsigned long result, factorial[50];
while(scanf("%lu %lu", &n, &k ...
Here's my code:
#include <stdio.h>
int main()
{
unsigned long n, k, i,j;
unsigned long result, factorial[50];
while(scanf("%lu %lu", &n, &k ...