問題1がならないんですが
#include <stdio.h>

int main(void)
{
int n;

scanf("%d", &n);
printf("%d\n",n);
return 0;
}

abcと入れると150と出ます
例では10なのですが・・・。