Search found 1 match

by chromeos722
Sun Sep 30, 2012 12:11 pm
Forum: Volume 100 (10000-10099)
Topic: 10013 - Super long sums
Replies: 212
Views: 41283

Re: 10013 - Super Long Sums

Hi, Runtime error. Tottally don't know why. Please help. #include <stdio.h> long a[1000001]; long b[1000001]; long sum[1000001]; int main(){ int count; int digit[1000]; digit[0] = 0; int size = 0; scanf("%d", &count); printf("\n"); for(int i = 0; i < count; i++){ scanf("%d", &digit[i+1]); digit[i+1]...

Go to advanced search