#include <iostream>
#include <cstdio>
#include <string>
#include <algorithm>
#include <vector>
#include <queue>
#include <cstring>
#include <cstring>
#include <map>
using namespace std;
map<string, int> M;
string source, destination;
int dist[300];
int visited[300];
vector<string> P[300];
vector ...
Search found 3 matches
- Thu Apr 09, 2015 4:47 pm
- Forum: Volume 4 (400-499)
- Topic: 429 - Word Transformation
- Replies: 82
- Views: 32055
- Fri Mar 27, 2015 7:18 am
- Forum: Volume 2 (200-299)
- Topic: 202 - Repeating Decimals
- Replies: 82
- Views: 25405
Re: 202 - Repeating Decimals
to Tiramisu
I have used three spaces in second line. But WA remains. I need more test cases where my code fails to correct output.
Thanks in advance.
I have used three spaces in second line. But WA remains. I need more test cases where my code fails to correct output.
Thanks in advance.
- Thu Mar 26, 2015 12:42 pm
- Forum: Volume 2 (200-299)
- Topic: 202 - Repeating Decimals
- Replies: 82
- Views: 25405
Re: 202 - Repeating Decimals
Why WA?? I have checked all test case from this forum. But I really can't figure out the bug. please help me anyone.
My code is given below :
#include <iostream>
#include <string>
#include <map>
using namespace std;
string ans = "", ans2, ans3;
map<int, int> M, pos;
int vagfol, mod, p, len, l ...
My code is given below :
#include <iostream>
#include <string>
#include <map>
using namespace std;
string ans = "", ans2, ans3;
map<int, int> M, pos;
int vagfol, mod, p, len, l ...