题解 | #a+b#
a+b
https://ac.nowcoder.com/acm/contest/18839/1020
#include<iostream> using namespace std; int main() { int a=0; int b=0; cin>>a>>b; cout<<hex<<a+b; //hex转十六进制,dec转十进制 return 0; }
a+b
https://ac.nowcoder.com/acm/contest/18839/1020
#include<iostream> using namespace std; int main() { int a=0; int b=0; cin>>a>>b; cout<<hex<<a+b; //hex转十六进制,dec转十进制 return 0; }
相关推荐