单项选择题

有以下程序
#include<stdio.h>
main()
int i,j,m=55;
for(i=1;i<=3;i++)
for(j=3;j<=i;j++)m=m%j;
printf("%d",m);
程序的运行结果是( )。

A.0
B.1
C.2
D.3