为什么穿越火线道聚城点击购买会显示登陆态无效
// main.cpp -- main()
#include <iostream>
#include "headfile.h"
int main()
{
using namespace std;
short m, n;
cout << "Please enter two numbers: ";
cin >> m >> n;
int i = (m > n) ? m : n;
int j = (m > n) ? n : m;
for (; j < i; j++)
if (is(j))
cout << j << '\t';
return 0;
}
// headfile.h -- bool is(short)
bool is(short number)
{
short a, b, c;
a = number / 100;
b = number % 100 / 10;
c = number % 10;
return (a * a * a + b * b * b + c * c * c == number) ? true : false;
}...
19071