poj3673
来源:互联网 发布:李小龙 泰森 知乎 编辑:程序博客网 时间:2024/05/22 15:19
//poj3673 自定义乘法 考察string 水#include <iostream>#include <string>using namespace std;int main(){string a, b;getline(cin, a, ' ');getline(cin, b);long long total = 0;for(int i = 0; i < a.length(); i++){for(int j = 0; j < b.length(); j++)total += (a[i] - '0') * (b[j] - '0');}cout<<total<<endl;return 0;}
0 0
- poj3673
- poj3673
- poj3673
- poj3673
- 北大ACM poj3673
- POJ3673----Cow Multiplication
- POJ3673解题报告
- poj3673 Cow Multiplication
- js 实现textarea限制输入字数
- 53.Eight (15分待续)
- HTTP 协议详解
- poj3650
- poj3672
- poj3673
- poj3632
- 三道经典的逻辑推理面试题:病狗、三盏灯、买鸡
- unity3d 提高this.transform的效率
- 同一tomcat下不同web项目session共享方法
- HQL: Hibernate查询语言
- poj3619
- [LeetCode] Remove Duplicates from Sorted Array II
- poj 3589