1 solutions
-
0
C :
#include <stdio.h> int main(void) { int a, b = 0, c; scanf("%d", &a); while(b == 0) scanf("%d", &b); c = a / b; printf("%d", c); return 0; }C++ :
#include<cstdio> using namespace std; int main() { int a,b,c; scanf("%d%d",&a,&b); printf("%d\n",a/b); return 0; }Pascal :
program yucong; var a,b,s:integer; begin read(a,b); s:=a div b; writeln(s); readln; end.
- 1
Information
- ID
- 18508
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- (None)
- Tags
- # Submissions
- 0
- Accepted
- 0
- Uploaded By