User profile: m4ster r0shi

User info
User name:m4ster r0shi
Bio:Aah, that's how a man should live!
History
Joined:
Number of posts:2191
Latest posts:

Chosing 1 out of multiple max elements
[quote]it isn't very helpful to tell me I'm wrong without the giving the details of what I'm missing...

Chosing 1 out of multiple max elements
[quote]My understanding... ...is that he needs to identify a single element, he implies that it nee...

Chosing 1 out of multiple max elements
Okay, let's take things one step at a time. The first thing you need to do is realize that your code...

Chosing 1 out of multiple max elements
[quote]This seems so much simpler to me[/quote] There is an even simpler way to do what you did: [c...

A generalization of Switch
Here's another idea: [code]#include <iostream> int main() { int a; std::cin >> a; sw...