Search found 2 matches

by Iqram Mahmud
Tue Mar 29, 2005 1:22 pm
Forum: Volume 102 (10200-10299)
Topic: 10235 - Simply Emirp
Replies: 150
Views: 51600

10235 - I am dead!

Guys , tell me what is the wrong here?


/* coded on 03.02.05
By FAHIM, NDC ##10235## */


#include <stdio.h>
#include <ctype.h>
#include <math.h>



char cnum[11];
double rev();
int check(double num);

void main(){
double num,renum;
int a,b;

while(scanf("%s",cnum)==1) {
num=atof(cnum);
renum ...
by Iqram Mahmud
Tue Mar 29, 2005 1:18 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 117471

102 WA!!!

/*COded on 23.02.05
By Fahim, NDC #102# */

#include <stdio.h>

long long sort();
long long ans[6];

void main() {
long long int a[3],b[3],c[3];
long long min;

while(scanf("%lld %lld %lld %lld %lld %lld %lld %lld %lld",&a[0], &a[1], &a[2],&b[0],&b[1],&b[2],&c[0],&c[1],&c[2])==9){
min=0;
ans[0]=b ...

Go to advanced search