摘要: #include <iostream>using namespace std; int main(){ int a, b; while(cin >> hex >> a >> b){ cout << dec << a + b << endl; } return 0;} 阅读全文
posted @ 2018-03-22 20:39 碧殇冰心 阅读(110) 评论(0) 推荐(0)
摘要: #include <iostream>#include <string.h>#include <stdio.h>using namespace std; int main(){ char a[1010]; int n; cin >> n; cin.get(); //空格还是得吸的 while(n - 阅读全文
posted @ 2018-03-22 20:38 碧殇冰心 阅读(94) 评论(0) 推荐(0)