You are correct. I changed it only.
Thank you.
Search found 5 matches
- Mon Sep 27, 2004 8:34 am
- Forum: Volume 1 (100-199)
- Topic: 160 - Factors and Factorials
- Replies: 205
- Views: 45418
- Sun Sep 26, 2004 10:06 am
- Forum: Volume 1 (100-199)
- Topic: 160 - Factors and Factorials
- Replies: 205
- Views: 45418
- Sun Sep 26, 2004 9:44 am
- Forum: Volume 1 (100-199)
- Topic: 160 - Factors and Factorials
- Replies: 205
- Views: 45418
- Thu Sep 23, 2004 9:57 am
- Forum: Volume 1 (100-199)
- Topic: 160 - Factors and Factorials
- Replies: 205
- Views: 45418
160(factors and factorials)WHY WRONG ANSWER??????PLEASE HELP
I have got WA for the problem 160 (factors and factorials). Please tell me what is wrong with my code?
[c]
#include<stdio.h>
#include<string.h>
void main()
{
int primes[]={ 2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,
53,59,61,67,71,73,79,83,89,97 };
int factors[30],N,n,k,sum;
while(scanf ...
[c]
#include<stdio.h>
#include<string.h>
void main()
{
int primes[]={ 2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,
53,59,61,67,71,73,79,83,89,97 };
int factors[30],N,n,k,sum;
while(scanf ...
- Mon Sep 20, 2004 10:19 am
- Forum: Volume 1 (100-199)
- Topic: 160 - Factors and Factorials
- Replies: 205
- Views: 45418
160:WHY WRONG ANSWER. PLEASE HELP.
I have got WA for the problem 160 (factors and factorials). Please tell me what is wrong with my code? Here is my source code.
[c]
#include<stdio.h>
#include<string.h>
void main()
{
int primes[]={ 2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,
53,59,61,67,71,73,79,83,89,97 };
int factors[30],N,n,k,sum ...
[c]
#include<stdio.h>
#include<string.h>
void main()
{
int primes[]={ 2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,
53,59,61,67,71,73,79,83,89,97 };
int factors[30],N,n,k,sum ...