1 solutions
-
0
C :
#include <stdio.h> int main(void) { int a, b, c; scanf("%d%d", &a, &b); c = a * b; printf("%d", c); return 0; }C++ :
#include<cstdio> using namespace std; int main() { int a,b,s; scanf("%d%d",&a,&b); s=a*b; printf("%d\n",s); return 0; }Pascal :
program yucong; var a,b,s:integer; begin read(a,b); s:=a*b; writeln(s); readln; end.Java :
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner cin = new Scanner (System.in); while (cin.hasNext()){ int a = cin.nextInt(); int b =cin.nextInt(); System.out.println(a*b); } } }
- 1
Information
- ID
- 18507
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- (None)
- Tags
- # Submissions
- 0
- Accepted
- 0
- Uploaded By