I have checked all kinds of input and in every output is correct. But getting WA :oops: . What's the reason of WA . Some one please help me...
#include <iostream>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <algorithm>
#include <cstdlib>
#include <vector>
#include <sstream ...
Search found 5 matches
- Wed Jan 21, 2015 2:55 am
- Forum: Volume 1 (100-199)
- Topic: 147 - Dollars
- Replies: 233
- Views: 50997
- Wed Jan 14, 2015 6:02 pm
- Forum: Volume 1 (100-199)
- Topic: 133 - The Dole Queue
- Replies: 42
- Views: 10647
Re: 133 - The Dole Queue
Getting WA :( . But I can't find the mistakes. Please help me. :)
#include <bits/stdc++.h>
#define pii pair <int,int>
#define sc scanf
#define pf printf
#define Pi 2*acos(0.0)
#define ms(a,b) memset(a, b, sizeof(a))
#define pb(a) push_back(a)
#define MP make_pair
#define oo 1<<29
#define dd ...
#include <bits/stdc++.h>
#define pii pair <int,int>
#define sc scanf
#define pf printf
#define Pi 2*acos(0.0)
#define ms(a,b) memset(a, b, sizeof(a))
#define pb(a) push_back(a)
#define MP make_pair
#define oo 1<<29
#define dd ...
- Fri Nov 14, 2014 11:40 pm
- Forum: Volume 3 (300-399)
- Topic: 341 - Non-Stop Travel
- Replies: 39
- Views: 30392
Re: 341 - Non-Stop Travel
Thank u sir... Got ACbrianfry713 wrote:remove:
pf("\b");

- Fri Nov 14, 2014 11:31 pm
- Forum: Volume 3 (300-399)
- Topic: 341 - Non-Stop Travel
- Replies: 39
- Views: 30392
Re: 341 - Non-Stop Travel
Always copy/paste output format from sample or problem description. :)
Sample Output
Case 1: Path = 2 1 4; 8 second delay Your Output
Case 1: Path = 2 1 4 ; 8 second delay Don't forget to remove your code after getting accepted. 8)
Thank u sir for your help but my compiler output is like this ...
Sample Output
Case 1: Path = 2 1 4; 8 second delay Your Output
Case 1: Path = 2 1 4 ; 8 second delay Don't forget to remove your code after getting accepted. 8)
Thank u sir for your help but my compiler output is like this ...
- Fri Nov 14, 2014 10:02 pm
- Forum: Volume 3 (300-399)
- Topic: 341 - Non-Stop Travel
- Replies: 39
- Views: 30392