1 solutions
-
0
C++ :
#include <iostream> #include <cstdio> using namespace std; int main() { int a,b,shang,yushu; cin>>a>>b; shang=a/b; yushu=a%b; cout<<shang<<" "<<yushu<<endl; return 0; }Pascal :
var a,b,c,d:integer; begin read(a,b); c:=a div b; d:=a mod b; writeln(c,' ',d); end.
- 1
Information
- ID
- 17702
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- (None)
- Tags
- # Submissions
- 0
- Accepted
- 0
- Uploaded By