#include <cstdio> int main(void){ int R, N; for(int cnum = 0; (scanf("%d %d", &R, &N) && R); ){ printf("Case %d: ", ++cnum); int s = (R - 1)/N; if(s > 26) printf("impossible\n"); else printf("%d\n", s); } return 0; }
ভাইয়া, s= (R-1)/N এইটা বুঝলামনা :(
#includeint main(){ int r,n,i,rest,x; for(i=1; ;i++) { scanf("%d%d",&r,&n); if(r==0&&n==0) { break; } if(n*26<r) { printf("Case %d: impossible\n",i); } else { rest=r-n; x=ceil((rest*1.0)/(n*1.0)); printf("Case %d: %d\n",i,x); } } return 0;}
(R - 1)/N means?
(R-1) r jigate R dele ki hoto?
Wleccaere Dan Portwood https://marketplace.visualstudio.com/items?itemName=3prinfrunypka.Descargar-Football-Mogul-15-gratuita-2022 voilimentryt
miroMspon-ku David Reyes click hereclickdownloadlink nosychbacktes
Uprininnode Bill Live Eset NOD 32FonePawBootstrap Studio riaregecom
Vevnartrinpa Brandy Sipes Bestprogram olsunveco
ভাইয়া, s= (R-1)/N এইটা বুঝলামনা :(
ReplyDelete#include
ReplyDeleteint main()
{
int r,n,i,rest,x;
for(i=1; ;i++)
{
scanf("%d%d",&r,&n);
if(r==0&&n==0)
{
break;
}
if(n*26<r)
{
printf("Case %d: impossible\n",i);
}
else
{
rest=r-n;
x=ceil((rest*1.0)/(n*1.0));
printf("Case %d: %d\n",i,x);
}
}
return 0;
}
(R - 1)/N means?
ReplyDelete(R-1) r jigate R dele ki hoto?
ReplyDeleteWleccaere Dan Portwood https://marketplace.visualstudio.com/items?itemName=3prinfrunypka.Descargar-Football-Mogul-15-gratuita-2022
ReplyDeletevoilimentryt
miroMspon-ku David Reyes click here
ReplyDeleteclick
download
link
nosychbacktes
Uprininnode Bill Live Eset NOD 32
ReplyDeleteFonePaw
Bootstrap Studio
riaregecom
Vevnartrinpa Brandy Sipes Best
ReplyDeleteprogram
olsunveco