wu :: forums (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi)
riddles >> suggestions, help, and FAQ >> 501 method not found
(Message started by: Jigsaw on Jun 9th, 2008, 12:19am)

Title: 501 method not found
Post by Jigsaw on Jun 9th, 2008, 12:19am
Any idea what this error implies? I was trying to post a reply in the CS forum when I encountered this error.
This is the exact message I get

Quote:
Method Not Implemented

POST to /~wwu/cgi-bin/yabb/YaBB.cgi not supported.
Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8g Server at www.ocf.berkeley.edu Port 80

Title: Re: 501 method not found
Post by towr on Jun 9th, 2008, 12:36am
Perhaps you used a letter with diacritical marks on it?

There's a number of similar problems here (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi?board=riddles_suggestions;action=display;num=1168493412), here (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi?board=riddles_suggestions;action=display;num=1190617110) and here (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi?board=riddles_suggestions;action=display;num=1181783716).

Title: Re: 501 method not found
Post by Grimbal on Jun 9th, 2008, 12:36am
You try to post something forbidden, like the string "SELECT FROM".

Title: Re: 501 method not found
Post by Jigsaw on Jun 9th, 2008, 1:23am

Code:
 for(int i=num;num>1 && i>=2;i--)
 {
   if(not(num%i) && isPrime(i))
   {
    prime_factors.push_back(i);  
    while(not(num%i))
   num/=i;
    }
  }

I took me a very long time to zero in on the error.  I'd to use "not" instead of "!"  in the code.



Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board