Search found 6 matches

by ldaniele
Sat Aug 26, 2006 8:55 pm
Forum: Volume 3 (300-399)
Topic: 357 - Let Me Count The Ways
Replies: 90
Views: 17703

thank you,
i didn't understood why i always get WA
After reading ypour post i've solved!!!
by ldaniele
Tue Aug 22, 2006 5:26 pm
Forum: Volume 1 (100-199)
Topic: 154 - Recycling
Replies: 29
Views: 6213

Re: 154 Why i get WA??

I've solved, so you can delete the code!!!
by ldaniele
Mon Aug 21, 2006 9:55 pm
Forum: Volume 1 (100-199)
Topic: 154 - Recycling
Replies: 29
Views: 6213

154 Why i get WA??

#include<iostream>
#include<string>

#define PROVA
#ifdef PROVA

#include<fstream>

using std::ofstream;
using std::ifstream;
using std::string;
//using std::cout;
ofstream cout("output.txt");
ifstream cin("input.txt");

#endif
#ifndef PROVA

using std::cin;
using std::cout;
using std::string ...
by ldaniele
Sat Aug 12, 2006 4:39 am
Forum: Volume 2 (200-299)
Topic: 264 - Count on Cantor
Replies: 47
Views: 22464

i've solved!
There was a problem with input!
I had to put a test of nullity after cin!
by ldaniele
Sat Aug 12, 2006 4:09 am
Forum: Volume 2 (200-299)
Topic: 264 - Count on Cantor
Replies: 47
Views: 22464

264 WA

What's wrong in my code (that could be optimised)

#include<iostream>

//#define PROVA
#ifdef PROVA

#include<fstream>
using std::ofstream;
using std::ifstream;
//using std::cout;
ofstream cout("output.txt");
ifstream cin("input.txt");

#endif
#ifndef PROVA

using std::cin;
using std::cout;

#endif ...
by ldaniele
Sat Aug 12, 2006 4:08 am
Forum: Volume 3 (300-399)
Topic: 378 - Intersecting Lines
Replies: 48
Views: 24110

378 (Intersecting Lines) WA

Hallo to everybody,
first of all sorry for my english!!!
Can anyone help me understanding what's wrong in my program
Here's the code

#include<iostream>
#include<stdio.h>
#include<iomanip>

//#define PROVA
#ifdef PROVA

#include<fstream>
using std::ofstream;
using std::ifstream;
using std ...

Go to advanced search