0分求解

B2010 带余除法

你的两个答案没有分开
by liuxiang220212 @ 2024-04-16 13:56:46


输出加空格
by _th_tw_on_ @ 2024-04-16 13:57:16


@[yuzhang_chen](/user/1233659) 两个答案之间加空格 ------------ 一行,包含两个整数,依次为整数商和余数,**中间用一个空格隔开**。
by fire_wolf @ 2024-04-16 15:17:40


谢谢
by yuzhang_chen @ 2024-04-16 21:48:15


过了,关注了
by yuzhang_chen @ 2024-04-16 21:49:42


###### 正解: ```c #include<iostream> using namespace std; int main() { int a,b; cin>>a>>b; cout<<a/b<<" "<<a%b; return 0; }
by aochiao @ 2024-05-01 15:56:49


正解```c #include <iostream> using namespace std; int main(){ int a,b; cin>>a>>b; cout<<a/b<<" "<<a%b; return 0; } ```
by Wzb5467890 @ 2024-05-05 14:41:18


|