Search found 5 matches

by lolicaddict
Fri Mar 27, 2015 5:11 pm
Forum: Volume 6 (600-699)
Topic: 624 - CD
Replies: 77
Views: 46544

Re: 624 - CD

Hello, I keep getting WA :(
This is my code (I couldn't find any special input):

Any help would be greatly appreciated.

#include <iostream>
#include <vector>
#include <cstdlib>

using namespace std;

vector <int> tracklist;

int capacity;
int maximum = 0;
int final = 0;

int calculate(int index ...
by lolicaddict
Fri Nov 21, 2014 3:21 pm
Forum: Volume 104 (10400-10499)
Topic: 10499 - The Land of Justice
Replies: 51
Views: 28685

Re: 10499 - The Land of Justice

Thanks! I got AC. I forgot to check if the number was negative...
That was stupid of me :oops: I should read the problem description more often.
by lolicaddict
Thu Nov 20, 2014 5:53 pm
Forum: Volume 104 (10400-10499)
Topic: 10499 - The Land of Justice
Replies: 51
Views: 28685

Re: 10499 - The Land of Justice

Hi, for some reason i have been getting lots of TL on this problem :(
Can you guys take a look at my code? It worked on sample inputs (and the inputs i've seen here) Thanks!

Code: Select all

Removed after AC
by lolicaddict
Thu Jul 31, 2014 1:37 pm
Forum: Volume 112 (11200-11299)
Topic: 11247 - Income Tax
Replies: 50
Views: 28498

Re: 11247 - Income Tax Hazard

Thanks for the test input! I was finally able to correct my mistake :))
by lolicaddict
Wed Jul 30, 2014 10:00 am
Forum: Volume 112 (11200-11299)
Topic: 11247 - Income Tax
Replies: 50
Views: 28498

Re: 11247 - Income Tax Hazard

Hello, i keep getting WA in this problem
I tried all the suggestions in this thread (no floats, m - 1 > v*(100-x)/100, etc.) but still i keep getting WA. :cry:
Edit: Finally figured it out. Thanks for the help brianfry :D

Code: Select all

//Removed after AC

Go to advanced search