11547 - Automatic Answer
#include<stdio.h>
int main()
{
int t,l,n,j,m;
scanf("%d",&t);
for(j=0;j<t;j++)
{
scanf("%d",&n);
l=((((((n*567)/9)+7492)*235)/47)-498);
m=((l/10)%10);
if(m<0)
{
m=m*(-1);
}
printf("%d\n",m);
}
return 0;
}
100 - The 3n + 1 problemTime limit: 3.000 seconds The 3n + 1 problem Background Problems in Computer Science are often classified as belon...
UVA-382–Perfection- Using java 382 - PerfectionTime limit: 3.000 seconds Perfection From the article Number Theory in the 1994 Microsoft Encarta: `...
136 - Ugly Numbers Ugly Numbers Ugly numbers are numbers whose only prime factors are 2, 3 or 5. The sequence 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15,...
11479 - Is this the easiest problem A triangle is a geometric shape with three positive sides. However, any given three sides won't neces-sarily form...
<?php // Start the session session_start(); ?> <!DOCTYPE html> <html> <head> <link rel=...
তোমাকে একটি সংখ্যা দেওয়া হবে ।উক্ত সংখ্যাটিকে উপরের নির্দেশ অনুযায়ী গুন , ভাগ , যোগ , বিয়োগ করে তার দশকস্থানীয় সংখ্যাটি বের করতে হবে
ReplyDeleteতোমাকে একটি সংখ্যা দেওয়া হবে ।উক্ত সংখ্যাটিকে উপরের নির্দেশ অনুযায়ী গুন , ভাগ , যোগ , বিয়োগ করে তার দশকস্থানীয় সংখ্যাটি বের করতে হবে ।মনে কর 685 এর দশক স্থানীয় অংকটি হল 8 । ঠিক তেমনি 623589239 এর দশক স্থানীয় অংক হল 3 । 62এর 2 ।
ReplyDelete