Search found 1 match

by sheik_08
Tue Sep 14, 2010 8:44 pm
Forum: Volume 100 (10000-10099)
Topic: 10013 - Super long sums
Replies: 212
Views: 67864

Re: 10013 - Super Long Sums

Why im getting WA??

#include <stdio.h>
#include <string.h>

int n,m,v[1000100],w[1000100];

int main(){

//freopen("Entrada.in","r",stdin);
//freopen("Salida.out","w",stdout);

scanf("%d",&m);

int j;

for(j=0;j<m;j++){

//memset(v,0,sizeof(v));
//memset(w,0,sizeof(w));

scanf("%d",&n ...

Go to advanced search