Search found 4 matches

by SamuelTangz
Thu Aug 15, 2013 10:31 am
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 67169

Re: 10324 - Zeros and Ones

brianfry713 wrote:Execute lines 14-22 of your code once per test case instead of every query.
ACed... I have rewritten this code twice and didn't observe this mistake... :oops:
Thank you!!
by SamuelTangz
Wed Aug 14, 2013 8:48 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 67169

Re: 10324 - Zeros and Ones

I have received TLE verdict with this code...
Could anyone help? :(

Code: Select all

Removed after AC
by SamuelTangz
Sat Aug 10, 2013 12:35 pm
Forum: C++
Topic: The necessity of 'showpoint' manipulator
Replies: 0
Views: 2082

The necessity of 'showpoint' manipulator

Hi,

I am a novice on C++ programming, and recently I am studying decimal representations.
Eventually I found the following code:

#include<iostream>
#include<iomanip>
using namespace std;
int main(void){
float x = 1;
cout << fixed << showpoint << setprecision(4);
cout << x;
return 0;
}

And ...
by SamuelTangz
Wed Jul 31, 2013 11:21 am
Forum: Volume 1 (100-199)
Topic: 105 - The Skyline Problem
Replies: 160
Views: 51481

The difference in pdf files and the problem webpage

I am a new member in the UVa Online Judge, but after a couple of days I have discovered a problem:

When I am trying to solve problems, I usually checks the .pdf file of the problems instead of the webpage itself.
However the descriptions of the two pages are sometimes different, which makes me ...

Go to advanced search