Search found 13 matches

by darksk4
Wed Apr 05, 2017 10:48 am
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 32307

Re: 112 - Tree Summing

Hi, Why my code is WA? all of your input have the same output. hmmm.



#include<iostream>
#include<cstdlib>
#include<cstdio>
#include<cctype>
#include<vector>


enum {NUMBER, LEFTBRACE, RIGHTBRACE, EMPTY};


class Token
{
int value;
std::string lex;
public :
Token() : value(-1), lex ...
by darksk4
Mon Nov 25, 2013 4:15 pm
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 49429

Re: why WA?(492)piglatin

Pleace can you tell me why I am getting TLE in this code? :(

Code: Select all

Got AC thanks brianfry713 
by darksk4
Fri Nov 01, 2013 6:07 am
Forum: Volume 7 (700-799)
Topic: 763 - Fibinary Numbers
Replies: 40
Views: 23453

Re: 763 - Fibinary Numbers

thanks :D haha I see @_@ I thought it's my algorithm :D thanks
by darksk4
Wed Oct 30, 2013 5:37 pm
Forum: Volume 7 (700-799)
Topic: 763 - Fibinary Numbers
Replies: 40
Views: 23453

Re: 763 - Fibinary Numbers

What's wrong with this code?

Code: Select all

AC
The Input and the output is correct @_@. hmm... any suggestion why I'm getting WA.
by darksk4
Fri Nov 02, 2012 7:45 pm
Forum: Volume 1 (100-199)
Topic: 113 - Power of Cryptography
Replies: 163
Views: 50334

Re: 113 - wrong answer

What's the error in this code?

Code: Select all

I see thanks brianfry713 
by darksk4
Wed Oct 03, 2012 3:47 pm
Forum: Volume 114 (11400-11499)
Topic: 11479 - Is this the easiest problem?
Replies: 48
Views: 27148

Re: 11479 - Is this the Easiest Problem?

Can I ask? What is the Difference between this two codes?

my bad XD
Thanks brianfry713 for correcting my post hahah
by darksk4
Tue Oct 02, 2012 5:28 am
Forum: Volume 114 (11400-11499)
Topic: 11479 - Is this the easiest problem?
Replies: 48
Views: 27148

Re: 11479 - Is this the Easiest Problem?

why is this WA? the input is right the variable is long long.


#include<iostream>

using namespace std;


int main(){

long long cycle, a, b ,c;


cin >> cycle;

for(int counter = 0 ; counter < cycle; counter++){
cin >> a >> b >> c;
cout << "Case " << counter + 1 << ": ";
if(( a + b > c ...
by darksk4
Tue Sep 25, 2012 4:39 am
Forum: Volume 109 (10900-10999)
Topic: 10929 - You can say 11
Replies: 69
Views: 37117

Re: 10929 - You can say 11

brianfry713 wrote:You're missing the period at the end of each line.

Still WA @_@
by darksk4
Sun Sep 23, 2012 11:10 am
Forum: Volume 109 (10900-10999)
Topic: 10929 - You can say 11
Replies: 69
Views: 37117

Re: 10929 - You can say 11

why WA?

can you determine why?



#include<iostream>

using namespace std;

bool eleven(string number){
bool isEleven = true;

for(int counter = 0; counter < number.length() - 1; counter++){

if(number[counter] == '0')
continue;

while(true){

if(number[counter] == '1' && number[counter + 1 ...
by darksk4
Fri Aug 03, 2012 6:39 am
Forum: Volume 4 (400-499)
Topic: 494 - Kindergarten Counting Game
Replies: 119
Views: 37243

Re: 494 WA

Code: Select all

Thanks brianfry713

I dont know why its WA.... hmmmm its maybe my algorithm
by darksk4
Wed Aug 01, 2012 7:36 am
Forum: Volume 4 (400-499)
Topic: 495 - Fibonacci Freeze
Replies: 222
Views: 59959

Re: 495 - Fibonacci Freeze

still sir it's WA T_T.... I don't know why my code is WA..... @_@

ok ok hahah I know the problem now... the code just got accepted XD
by darksk4
Tue Jul 31, 2012 5:59 pm
Forum: Volume 4 (400-499)
Topic: 495 - Fibonacci Freeze
Replies: 222
Views: 59959

Re: 495 - Fibonacci Freeze

What do you mean blank lines? the newline? hmmm I already tried it but still WA...
or maybe if the input of the user is greater than 5000 its gives nothing?
by darksk4
Sun Jul 29, 2012 7:13 pm
Forum: Volume 4 (400-499)
Topic: 495 - Fibonacci Freeze
Replies: 222
Views: 59959

Re: 495 - Fibonacci Freeze

Why is this a WA?

Code: Select all

Code Accpeted

Go to advanced search