Bloomberg Gets IBM Ex-CEO Sam Palmisano To Investigate Its Terminal Scandal
-
[image: Sam Palmisano]
For the past week, there's been a big brouhaha at Bloomberg over how
reporters for the business news service have been using the c...
2 minutes ago
#include
ReplyDeleteusing namespace std;
int main(int argc, char* argv[])
{
unsigned int counter = 0, most_freq, n;
while (cin >> n && n > 0)
if (!counter)
counter++, most_freq = n;
else
counter += (n == most_freq) ? +1 : -1;
cout << most_freq << endl;
}