求大佬帮忙,万分感谢!!!
#include<stdio.h> main() { int w,d,t; scanf("%d%d",&w,&d); t=d%7; if((t+w-1)>=7) printf("%d",((d/7)*5+t-2)*250); else if((t+w-1)>=6) printf("%d",((d/7)*5+t-1)*250); else printf("%d",((d/7)*5+t)*250); } ```cpp