脚脚单单

张咏灏  •  19天前


#include <iostream> 

using namespace std; 

int main(){ 

int a,b; 

cin>>a>>b; 

for(int i=1;i<=a;i++){ 

if(i%b==0){ 

cout<<i<<" "; 

return 0; 

}


评论: