Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (10 sloc) 126 Bytes
#include<stdio.h>
int main()
{
int n;
char str[100];;
scanf("%s",str);
sscanf(str,"%x",&n);
printf("%d",n);
return 0;
}
Jump to Line
Something went wrong with that request. Please try again.