Search found 32 matches

by sklitzz
Sun Feb 06, 2005 5:02 pm
Forum: Volume 1 (100-199)
Topic: 195 - Anagram
Replies: 242
Views: 26907

complier error c++ on 195

The program compiles on my computer just fine without any warnings but I get Compilation error ehen I submit: #include <iostream> #include <string> #include <set> #include <algorithm> using namespace std; int N; set < string > perms; typedef set < string >::iterator SIT; int main() { scanf( "%d", &N...
by sklitzz
Fri Dec 03, 2004 5:25 pm
Forum: Volume 1 (100-199)
Topic: 117 - The Postal Worker Rings Once
Replies: 58
Views: 16418


I having trouble solving this problem. This is my algorithm: I read edges and add sum them up. I keep track of how many edges do go from each vertex If there are two odd degree vertexes, i find the shorthest path from the 2 verticies. I get WA This is my code: [cpp] #include <iostream> #include <str...

Go to advanced search