Search found 2 matches

by Hammer Engineer
Mon Sep 16, 2013 1:06 am
Forum: Volume 9 (900-999)
Topic: 957 - Popes
Replies: 15
Views: 10840

Re: 957 - Popes

@brainfry713 When i'm submitting code i'm removing freopen() [ sorry I did't mension that in code].
Is there any other problem that can end with a RE ?
by Hammer Engineer
Fri Sep 13, 2013 9:00 am
Forum: Volume 9 (900-999)
Topic: 957 - Popes
Replies: 15
Views: 10840

Re: 957 - Popes

Why RE ? Please help

#include <iostream>
#include<vector>
#include<cstdio>
using namespace std;

int main()
{
freopen("input.txt", "r", stdin);

int span;

//scanf("%d",&span);
while ( scanf("%d",&span) != EOF ) {
vector<int> a(100001);
vector<int> F(100001);

int Y , year;
a[0] = F[0] = 0 ...

Go to advanced search