文章
1
粉丝
9
获赞
0
访问
276
#include<stdio.h> int f(const char *s){ int ret = 0; sscanf(s,"%0x",&ret); return ret; } int main(){ char buff[100]; while(scanf("%s",buff)!=EOF){ printf("%d\n",f(buff)); } return 0; }
登录后发布评论
暂无评论,来抢沙发