Search found 2 matches

by songyy
Sun Apr 15, 2012 6:51 pm
Forum: Volume 4 (400-499)
Topic: 403 - Postscript
Replies: 28
Views: 5805

Re: 403- need some help

@emotional bland:
I got exactly the same output with you, and I think your output is correct.

But I got WA also... don't understand why getting WA...
by songyy
Mon Jan 17, 2011 6:01 pm
Forum: Volume 5 (500-599)
Topic: 594 - One Little, Two Little, Three Little Endians
Replies: 46
Views: 23376

problem with long/int in the problem 594

URL: http://uva.onlinejudge.org/external/5/594.html

I really don't know why...

When I try to submit with datatype long, I got WA, while submit with int, I got AC... Here's the code:

WA code:

#include <iostream>

using namespace std;

long converts(long a){
long res=0;
for(int i=0;i<4;i ...

Go to advanced search