1 条题解
- 
  0
C :
#include<stdio.h> main(){ int a,b,m; char c,d; scanf("%d%c%d%c",&a,&c,&b,&d); if(c=='*'&&d=='='){ m=a*b; printf("%d\n",m); } }C++ :
#include<bits/stdc++.h> using namespace std; int main(){ int a,b; long long e; char c,d; cin>>a>>c>>b>>d; e=a*b; cout<<e<<endl; return 0; }Python :
str1=input() a=int(str1[:str1.find("*")]) b=int(str1[str1.find("*")+1:-1]) print(a*b) 
- 1
 
信息
- ID
 - 2055
 - 时间
 - 1000ms
 - 内存
 - 16MiB
 - 难度
 - 10
 - 标签
 - 递交数
 - 5
 - 已通过
 - 3
 - 上传者