Search found 2 matches

by Ranit
Fri Oct 24, 2014 4:31 pm
Forum: Volume 107 (10700-10799)
Topic: 10789 - Prime Frequency
Replies: 38
Views: 27524

Re: 10789 - Prime Frequency

Try these inputs...

idufjdklmvlkue342494832674921487 (Expected output: 234789dklu)
76583hjfkshgkiKJDNHFKJSkjsdnksi (Expected output: JKhijs)
iutioerniIHGFSDHuyeuiu735982347kkj (Expected output: 37Hek)
by Ranit
Fri May 31, 2013 8:26 pm
Forum: Volume 103 (10300-10399)
Topic: 10370 - Above Average
Replies: 62
Views: 29251

Re: 10370 - Above Average

10370 - Above Average

why am i getting runtime error??? plz say?!!! :(

#include <stdio.h>
int main()
{
int c, k, j = 0, count, i;
int a, b;
long int inp[500];
double s, avg;
scanf("%d", &b);
for(i = 0; i < b; i++){
scanf("%d", &a);
count = 0;
c = 0;
for(k = 0; k < a; k++) {
scanf("%d ...

Go to advanced search