显示的unaccept,但100分??
subtask # 0 全AC
subtask # 1 : 测试点1RE,#2 WA
//附代码:
#include<iostream>
#include<algorithm>
using namespace std;
int main()
{
int A, B, C,flag=0;
cin >> A >> B >> C;
for (int i = 100; i < 1000; i++)
{
if (i % A == 0)
{
int x = i / A * B;
if ( x< 1000)
{
int y = i / A * C;
if ( y < 1000)
{
if ((i / 100 + i / 10 % 10 + i % 10 + x / 100 + x / 10 % 10 + x % 10 + y / 100 + y / 10 % 10 + y % 10 == 45)&&((i / 100 )* (i / 10 % 10) * (i % 10) * (x / 100) * (x / 10 % 10) * (x % 10) * (y / 100) * (y / 10 % 10) * (y % 10)==362880))
{
cout << i << " " << x << " " << y << endl;
flag = 1;
}
}
}
}
}
if (flag == 0)
{
cout << "No!!!" << endl;
return 0;
}
return 0;
}