#7500: 幫忙鑑定


a99315556067 (水上燈)


#include <iostream>

using namespace std;

int main()
{
int a,b;

while(cin >> a >> b)
if(a==b)
cout << "Ok" << endl;
else if(a%b==0)
cout << "Ok" << endl;
else
cout << "Impossib1e!" << endl;

return 0;
}
 
請問哪裡出錯了? 

#7501: Re:幫忙鑑定


monkey413 (小猴子)


b 不可為 0