Search found 1 match

by 1971
Sun Jun 16, 2013 3:08 am
Forum: Volume 1 (100-199)
Topic: 119 - Greedy Gift Givers
Replies: 145
Views: 47352

Re: 119 Why WA??

I've passed all sample test cases provided here, but still getting WA. Anybody's help will be appreciated:

#include<iostream>
#include<cstdio>
#include<cstring>

using namespace std;

char giver[11][15];
int n;

int search_index(char* name){
int i,j;

//printf("%s\n\n",name); //

for(i=0; i<n;i ...

Go to advanced search