<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6166798752249187938</id><updated>2026-08-01T20:14:26.585+06:00</updated><category term="Jan’s LightOJ Solution"/><category term="URI Online Judge Solution"/><category term="সফটওয়্যার"/><category term="উইন্ডোজ"/><category term="ডাউনলোড"/><category term="Timus Online Judge"/><category term="URI Online Judge"/><category term="সি প্রোগ্রামিং"/><category term="ইনফোগ্রাফিক"/><category term="এক্স-পি"/><category term="প্রোগ্রামিং"/><category term="Installing Solution"/><category term="ওয়েবসাইট"/><category term="নিরাপত্তা"/><category term="সি লাইব্রেরী ফাংশন"/><category term="সি স্ট্যান্ডার্ড লাইব্রেরী ফাংশন"/><category term="R"/><category term="অ্যান্ড্রয়েড অ্যাপ"/><category term="লিনাক্স"/><category term="সি++"/><category term="Dynamic Programming"/><category term="Jan&#39;s LightOJ Solution"/><category term="LightOJ"/><category term="Linux"/><category term="Problem Solution"/><category term="Python"/><category term="UVa Solution"/><category term="Ubuntu"/><category term="ইন্টারনেট"/><category term="এন্ড্রয়েড"/><category term="কম্পিউটার ভাইরাস"/><category term="জি-মেইল"/><category term="টেমপ্লেট"/><category term="তথ্য পুনরুদ্ধার"/><category term="তথ্য প্রযুক্তির খবর"/><category term="নববর্ষ"/><category term="নিউজ"/><category term="ফায়ারফক্স"/><category term="ফেসবুক"/><category term="ফেসবুক মেসেঞ্জার"/><category term="ব্লগস্পট"/><category term="ব্লগস্পট টেমপ্লেট"/><category term="ব্লগার"/><category term="ভ্রমণ"/><category term="মাতৃভাষা"/><category term="মেট্রো-ইন্টারফেস"/><category term="ম্যাক"/><category term="ম্যালওয়ার"/><category term="সর্টিং অ্যালগরিদম"/><category term="স্পেস"/><category term="হ্যাকিং"/><title type='text'>প্লাজমা</title><subtitle type='html'>টেকনোলজি এবং টেকনিউজ নিয়ে বাংলা ব্লগ । </subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>125</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-7902230933394410708</id><published>2017-02-24T11:35:00.000+06:00</published><updated>2017-02-24T11:35:47.842+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Installing Solution"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Python package install problem solution IOError: [Errno 13] Permission denied: </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
When trying to install package using pip sometime this kinds of permission denied error occurs.&lt;br /&gt;
&lt;br /&gt;
$ python -m pip install pylint &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Output Error:&lt;/b&gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; self.move_wheel_files(self.source_dir, root=root)&lt;br /&gt;&amp;nbsp; File &quot;/home/rana/anaconda2/lib/python2.7/site-packages/pip/req/req_install.py&quot;, line 998, in move_wheel_files&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; isolated=self.isolated,&lt;br /&gt;&amp;nbsp; File &quot;/home/rana/anaconda2/lib/python2.7/site-packages/pip/wheel.py&quot;, line 339, in move_wheel_files&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; clobber(source, lib_dir, True)&lt;br /&gt;&amp;nbsp; File &quot;/home/rana/anaconda2/lib/python2.7/site-packages/pip/wheel.py&quot;, line 317, in clobber&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; shutil.copyfile(srcfile, destfile)&lt;br /&gt;&amp;nbsp; File &quot;/home/rana/anaconda2/lib/python2.7/shutil.py&quot;, line 83, in copyfile&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; with open(dst, &#39;wb&#39;) as fdst:&lt;br /&gt;IOError: [Errno 13] Permission denied: &#39;/home/rana/anaconda2/lib/python2.7/site-packages/backports.functools_lru_cache-1.3-py3&lt;br /&gt;.5-nspkg.pth&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To solve this we need to specify --user after the previous command .&lt;br /&gt;
&lt;br /&gt;
$python -m pip install pylint --user&lt;br /&gt;
&lt;br /&gt;
This will solve the problem.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/7902230933394410708/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2017/02/python-package-install-problem-solution.html#comment-form' title='3টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/7902230933394410708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/7902230933394410708'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2017/02/python-package-install-problem-solution.html' title='Python package install problem solution IOError: [Errno 13] Permission denied: '/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-5007937773274740881</id><published>2017-02-02T00:20:00.000+06:00</published><updated>2017-02-02T00:20:07.896+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="অ্যান্ড্রয়েড অ্যাপ"/><title type='text'>&quot;পারিভাষিক শব্দ&quot; বাংলা পারিভাষিক শব্দের অ্যান্ড্রয়েড অ্যাপ</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB1rVqqJ0w2xvxMqV-bsGYIP8fwdzQvdubyd5VmRpLhamkFQCfyDUxEjYFsKRvU3irIJYFTlhZYL-dtIc5Gwk-uFU7mS94AlFfE8sXFn8HpeEnSj-4GNJlF7wLdLPr5Z-KS7RhWxNYmNk/s1600/feature.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;312&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB1rVqqJ0w2xvxMqV-bsGYIP8fwdzQvdubyd5VmRpLhamkFQCfyDUxEjYFsKRvU3irIJYFTlhZYL-dtIc5Gwk-uFU7mS94AlFfE8sXFn8HpeEnSj-4GNJlF7wLdLPr5Z-KS7RhWxNYmNk/s640/feature.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;পারিভাষিক শব্দ&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
বাংলা থেকে ইংরেজি এবং ইংরেজী থেকে বাংলা পারিভাষিক শব্দ নিয়ে &lt;a href=&quot;https://www.facebook.com/KamarghorSoft/&quot;&gt;কামারঘরসফট&lt;/a&gt; এর নতুন মোবাইল অ্যাপ পারিভাষিক শব্দ । ইংরেজি থেকে বাংলা এবং বাংলা থেকে ইংরেজি শব্দ সার্চ করার সুবিধা রয়েছে । এসএসসি, এইচএসসি, পাবলিক পরীক্ষা, বিসিএস,ব্যাংকসহ বিভিন্ন চাকরির পরীক্ষায় অাসা পারিভাষিক শব্দের জন্য ব্যবহার করতে পারেন ।&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwBR5kmiNXUOwsJ2mQptepQoeePj5wdVOtmKa4TTWXVQGgGnAh-p8v_jNRoj2idGIkFdYAHeaCrADeLbJ0rU1_VkEWgm8aKAVwMB5-jkESncleuQM4WYO6qcGOpdv4T5VjfVWDDnE2nKI/s1600/list.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwBR5kmiNXUOwsJ2mQptepQoeePj5wdVOtmKa4TTWXVQGgGnAh-p8v_jNRoj2idGIkFdYAHeaCrADeLbJ0rU1_VkEWgm8aKAVwMB5-jkESncleuQM4WYO6qcGOpdv4T5VjfVWDDnE2nKI/s640/list.png&quot; width=&quot;356&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;পারিভাষিক শব্দের তালিকা&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
ডাউনলোড:&amp;nbsp; &lt;br /&gt;
প্লেস্টোরের লিংক:&amp;nbsp;&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.ranamahmud.parivashikshobdho&quot;&gt;https://play.google.com/store/apps/details?id=com.ranamahmud.parivashikshobdho&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.ranamahmud.parivashikshobdho&amp;amp;pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Get it on Google Play&quot; height=&quot;153&quot; src=&quot;https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/5007937773274740881/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2017/02/bangla-technical-term.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/5007937773274740881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/5007937773274740881'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2017/02/bangla-technical-term.html' title='&quot;পারিভাষিক শব্দ&quot; বাংলা পারিভাষিক শব্দের অ্যান্ড্রয়েড অ্যাপ'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB1rVqqJ0w2xvxMqV-bsGYIP8fwdzQvdubyd5VmRpLhamkFQCfyDUxEjYFsKRvU3irIJYFTlhZYL-dtIc5Gwk-uFU7mS94AlFfE8sXFn8HpeEnSj-4GNJlF7wLdLPr5Z-KS7RhWxNYmNk/s72-c/feature.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-4270171312325611573</id><published>2016-10-20T01:51:00.000+06:00</published><updated>2016-10-20T01:51:18.047+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Installing Solution"/><category scheme="http://www.blogger.com/atom/ns#" term="R"/><title type='text'>Solution of problem installing R package in Ubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Sometimes we want to install a package in R via using R console. But we may face problem if our R version is older . It may show errors like this one.&lt;br /&gt;
&lt;pre class=&quot;GEM3DMTCFGB&quot; id=&quot;rstudio_console_output&quot; style=&quot;-webkit-user-select: text; background-color: #002240; border: none; color: white; font-family: &#39;Ubuntu Mono&#39;; font-size: 10.4pt !important; line-height: 16px; outline: none; white-space: pre-wrap !important; widows: auto; word-break: break-all;&quot; tabindex=&quot;0&quot;&gt;Warning in install.packages :
  package ‘ggplot2’ is not available (for R version 3.0.2)&lt;/pre&gt;
This kind of package installation problem in Ubuntu linux can be fixed by installing the&amp;nbsp;&lt;span style=&quot;background-color: white; color: #242729; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;packaged version distributed by Ubuntu. We need to run &amp;nbsp;the following command in the terminal.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
sudo apt-get install r-cran-packagename&lt;/code&gt;&lt;/pre&gt;
Replace packagename with the package you want to install.
In case of ggplot2 we need to run the following command.
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
sudo apt-get install r-cran-ggplot2
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/4270171312325611573/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/10/solution-of-problem-installing-r.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/4270171312325611573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/4270171312325611573'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/10/solution-of-problem-installing-r.html' title='Solution of problem installing R package in Ubuntu'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-6668617402400408426</id><published>2016-10-16T12:55:00.000+06:00</published><updated>2016-10-16T12:55:49.928+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Installing Solution"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="R"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Solution of problem installing RODBC package on Ubuntu Linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;u&gt;When trying to install RODBC package when the following error occurs :&amp;nbsp;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
configure: error: &quot;ODBC headers sql.h and sqlext.h not found&quot;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
ERROR: configuration failed for package ‘RODBC’&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
* removing ‘/home/username/R/x86_64-pc-linux-gnu-library/3.0/RODBC’&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;u&gt;Cause:&lt;/u&gt; &amp;nbsp;headers sql.h and sqlext.h header files is not install . We need to install package which contains these headers.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;u&gt;Solution: &lt;/u&gt;&amp;nbsp;Run the following in the terminal and install the &amp;nbsp;packages libiodbc2-dev libiodbc2 . After finishing installation of packages try reinstalling &quot;RODBC&quot; from R console.&lt;/div&gt;
&lt;br /&gt;
sudo apt-get install libiodbc2-dev libiodbc2&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/6668617402400408426/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/10/solution-of-problem-installing-rodbc.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/6668617402400408426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/6668617402400408426'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/10/solution-of-problem-installing-rodbc.html' title='Solution of problem installing RODBC package on Ubuntu Linux'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-1473086129770700542</id><published>2016-05-27T01:08:00.000+06:00</published><updated>2016-05-27T01:08:29.488+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="URI Online Judge"/><category scheme="http://www.blogger.com/atom/ns#" term="URI Online Judge Solution"/><title type='text'>URI Online Judge | 1722 How many Fibs? Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://www.urionlinejudge.com.br/judge/en/problems/view/1722&quot;&gt;URI Online Judge | 1722 How many Fibs?&lt;/a&gt;&lt;br /&gt;
Solution:&lt;br /&gt;
Language :Python 2.7&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;script src=&quot;https://gist.github.com/icic13/2931cad07e7e3915d1826e9b48044c80.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/1473086129770700542/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/05/uri-online-judge-1722-how-many-fibs.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/1473086129770700542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/1473086129770700542'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/05/uri-online-judge-1722-how-many-fibs.html' title='URI Online Judge | 1722 How many Fibs? Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-4927389544005329259</id><published>2016-05-26T12:00:00.001+06:00</published><updated>2016-05-26T12:00:18.838+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="URI Online Judge"/><category scheme="http://www.blogger.com/atom/ns#" term="URI Online Judge Solution"/><title type='text'>URI Online Judge | 1893 Moon Phases Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://www.urionlinejudge.com.br/judge/en/problems/view/1893&quot;&gt;URI Online Judge | 1893 Moon Phases Solution&lt;/a&gt;&lt;br /&gt;
Language: C++&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;

#include &amp;lt;iostream&amp;gt;
using namespace std;

bool nova(int num)
{
    return num&amp;gt;=0&amp;amp;&amp;amp;num&amp;lt;=2;
}

bool crescent(int num)
{
    return num&amp;gt;=3&amp;amp;&amp;amp;num&amp;lt;=96;
}
bool full_moon(int num)
{
    return num&amp;gt;=97&amp;amp;&amp;amp;num&amp;lt;=100;
}


int main()
{


    int first,second;
    cin&amp;gt;&amp;gt;first&amp;gt;&amp;gt;second;

    if(first&amp;lt;=second)
    {
        if(nova(second))
            cout&amp;lt;&amp;lt;&quot;nova&quot;&amp;lt;&amp;lt;endl;
        else if(crescent(second))
            cout&amp;lt;&amp;lt;&quot;crescente&quot;&amp;lt;&amp;lt;endl;
        else if (full_moon(second))
            cout&amp;lt;&amp;lt;&quot;cheia&quot;&amp;lt;&amp;lt;endl;


    }
    else
    {

        if(nova(second))
            cout&amp;lt;&amp;lt;&quot;nova&quot;&amp;lt;&amp;lt;endl;
        else if(crescent(second))
            cout&amp;lt;&amp;lt;&quot;minguante&quot;&amp;lt;&amp;lt;endl;
        else if (full_moon(second))
            cout&amp;lt;&amp;lt;&quot;cheia&quot;&amp;lt;&amp;lt;endl;


    }



}

&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/4927389544005329259/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/05/uri-online-judge-1893-moon-phases.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/4927389544005329259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/4927389544005329259'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/05/uri-online-judge-1893-moon-phases.html' title='URI Online Judge | 1893 Moon Phases Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-9097555228168546356</id><published>2016-05-26T00:48:00.000+06:00</published><updated>2016-05-26T00:48:38.077+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="URI Online Judge"/><category scheme="http://www.blogger.com/atom/ns#" term="URI Online Judge Solution"/><title type='text'>URI Online Judge | 1871 Zero means Zero Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://www.urionlinejudge.com.br/judge/en/problems/view/1871&quot;&gt;URI Online Judge | 1871 Zero means Zero &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
Language: C++

&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;

/***************************
*  Author: Md. Rana Mahmud *
*  www.ranamahmud.com      *
*                          *
****************************/


#include &amp;lt;iostream&amp;gt;
#include &amp;lt;stack&amp;gt;
using namespace std;

int main()
{

    long long int a,b,sum;
    while(cin&amp;gt;&amp;gt;a&amp;gt;&amp;gt;b)
    {

        stack &amp;lt;int&amp;gt; result;
        if(a==0&amp;amp;&amp;amp;b==0)
            break;
        sum = a + b;
        while(sum)
        {
            if(sum%10)
                result.push(sum%10);

            sum/=10;

        }

        while(!result.empty())
        {
            cout&amp;lt;&amp;lt;result.top();
            result.pop();
        }
        cout&amp;lt;&amp;lt;endl;
    }

}



&lt;/code&gt;
&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/9097555228168546356/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/05/uri-online-judge-1871-zero-means-zero.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/9097555228168546356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/9097555228168546356'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/05/uri-online-judge-1871-zero-means-zero.html' title='URI Online Judge | 1871 Zero means Zero Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-980508581349317318</id><published>2016-05-03T19:21:00.003+06:00</published><updated>2016-05-03T19:21:43.236+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="অ্যান্ড্রয়েড অ্যাপ"/><title type='text'>বাতি অ্যান্ড্রয়েড মোবাইলের জন্য ফ্লাশলাইট অ্যাপ</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&quot;বাতি&quot; অ্যান্ড্রয়েড মোবাইলের জন্য অামার তৈরি করা ফ্লাশলাইট অ্যাপ । অ্যান্ড্রয়েড মোবাইলটিকে ফ্লাশলাইট হিসেবে ব্যবহার করার জন্যে এটি ব্যবহার করতে পারেন ।&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.ranamahmud.bati&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsHkH7tbBMTkrZFjf-ZTenwm9vF4hIobXl8tATjJyZPqBwsqjMO5CggFaEjTw23x4B1geniM-kQMbkS-qthSmMhTFm3Ru0v2l-6xKFCvCVp79pudPYxgO7TP0ZwLaAXX4Io32g0izKx2A/s320/512.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.ranamahmud.bati&quot;&gt;বাতি&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
অ্যান্ড্রয়েড ভার্সন ৪ থেকে শুরু করে পরের সকল ভার্সন সাপোর্ট করে । ব্যবহার করা খুবই সহজ ।&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.ranamahmud.bati&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYTCbQVIk9_l4SpXNVFSu7jK-hxjd4prQpMYPscbt2gxgbro4sMY7tJv22uSeezTA3HPcM8MWh_sv00mqkvAFUtBZcgtKr4tQE0ZnkVL62XW8-63IvQGKEmtkvckL_D_pUqOxzCP9QAW8/s320/Screenshot_2016-05-03-09-52-16.png&quot; width=&quot;179&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.ranamahmud.bati&quot;&gt;অন&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.ranamahmud.bati&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-IYNKyYogpWAF8Qq7x-5G3pqjDymwqmzmYrNnei3PxK5Gfd_J-fFr8VoQ3AVYi8-nkfM4WEkY-OqS3BMO5MdjflbI-oLvb1FNre3qhU9zjO_lZnk08s1lBnBJ-w1-8C6GBhC8MVjmzWg/s320/Screenshot_2016-05-03-09-52-09.png&quot; width=&quot;179&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.ranamahmud.bati&quot;&gt;অফ&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
ডাউনলোড করার জন্য নিচের লিংকে ক্লিক করতে পারেন ।&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.ranamahmud.bati&amp;amp;utm_source=global_co&amp;amp;utm_medium=prtnr&amp;amp;utm_content=Mar2515&amp;amp;utm_campaign=PartBadge&amp;amp;pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1&quot;&gt;&lt;img alt=&quot;Get it on Google Play&quot; height=&quot;154&quot; src=&quot;https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/980508581349317318/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/05/blog-post.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/980508581349317318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/980508581349317318'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/05/blog-post.html' title='বাতি অ্যান্ড্রয়েড মোবাইলের জন্য ফ্লাশলাইট অ্যাপ'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsHkH7tbBMTkrZFjf-ZTenwm9vF4hIobXl8tATjJyZPqBwsqjMO5CggFaEjTw23x4B1geniM-kQMbkS-qthSmMhTFm3Ru0v2l-6xKFCvCVp79pudPYxgO7TP0ZwLaAXX4Io32g0izKx2A/s72-c/512.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-887361308418741207</id><published>2016-04-13T11:45:00.001+06:00</published><updated>2016-04-13T11:45:05.658+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="URI Online Judge Solution"/><title type='text'>URI Online Judge | 1379 Mean Median Problem Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://www.urionlinejudge.com.br/judge/en/problems/view/1379&quot;&gt;URI Online Judge | 1379 Mean Median Problem&lt;/a&gt;&lt;/div&gt;
Language:C++
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
#include &amp;lt;iostream&amp;gt;
using namespace std;
int main(){

    int a,b;
    while(cin&amp;gt;&amp;gt;a&amp;gt;&amp;gt;b&amp;amp;&amp;amp;a&amp;amp;&amp;amp;b){
        cout&amp;lt;&amp;lt;2*a-b&amp;lt;&amp;lt;endl;
    }

}

&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/887361308418741207/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/04/uri-online-judge-1379-mean-median.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/887361308418741207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/887361308418741207'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/04/uri-online-judge-1379-mean-median.html' title='URI Online Judge | 1379 Mean Median Problem Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-3869024114104574469</id><published>2016-04-13T11:02:00.000+06:00</published><updated>2016-04-13T11:02:02.509+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="URI Online Judge Solution"/><title type='text'>URI Online Judge | 1743 Automated Checking Machine Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://www.urionlinejudge.com.br/judge/en/problems/view/1743&quot;&gt;URI Online Judge | 1743 Automated Checking Machine&lt;/a&gt;&lt;br /&gt;
Language:C++&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;#include &amp;lt;iostream&amp;gt;
using namespace std;

int main()
{
    int first[5],second[5];
    for(int i= 0; i&amp;lt;5; i++)
        cin&amp;gt;&amp;gt;first[i];
    for(int i = 0; i&amp;lt;5; i++)
        cin&amp;gt;&amp;gt;second[i];

    if(first[0]^second[0]&amp;amp;&amp;amp;
       first[1]^second[1]&amp;amp;&amp;amp;
       first[2]^second[2]&amp;amp;&amp;amp;
       first[3]^second[3]&amp;amp;&amp;amp;
       first[4]^second[4]
       )
        cout&amp;lt;&amp;lt;&quot;Y&quot;&amp;lt;&amp;lt;endl;
    else
        cout&amp;lt;&amp;lt;&quot;N&quot;&amp;lt;&amp;lt;endl;
}
&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/3869024114104574469/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/04/uri-online-judge-1743-automated.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/3869024114104574469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/3869024114104574469'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/04/uri-online-judge-1743-automated.html' title='URI Online Judge | 1743 Automated Checking Machine Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-2437967169875989597</id><published>2016-03-29T22:29:00.000+06:00</published><updated>2016-03-29T22:29:08.882+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="URI Online Judge Solution"/><title type='text'>URI Online Judge | 2029 Honey Reservoir Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://www.urionlinejudge.com.br/judge/en/problems/view/2029&quot;&gt;URI Online Judge | 2029 Honey Reservoir&lt;/a&gt;&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;

#include &amp;lt;iostream&amp;gt;
#include &amp;lt;iomanip&amp;gt;
using namespace std;
int main()
{
    double v,d,height,area;
    while(cin&amp;gt;&amp;gt;v&amp;gt;&amp;gt;d)
    {
        height = 4*v/(3.14*d*d);
        area = 3.14*d*d/4;
        cout&amp;lt;&amp;lt;fixed&amp;lt;&amp;lt;setprecision(2)&amp;lt;&amp;lt;&quot;ALTURA = &quot;&amp;lt;&amp;lt;height&amp;lt;&amp;lt;endl;
        cout&amp;lt;&amp;lt;fixed&amp;lt;&amp;lt;setprecision(2)&amp;lt;&amp;lt;&quot;AREA = &quot;&amp;lt;&amp;lt;area&amp;lt;&amp;lt;endl;

    }


}

&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/2437967169875989597/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/03/uri-online-judge-2029-honey-reservoir.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/2437967169875989597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/2437967169875989597'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/03/uri-online-judge-2029-honey-reservoir.html' title='URI Online Judge | 2029 Honey Reservoir Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-6063789078978662204</id><published>2016-03-29T01:02:00.004+06:00</published><updated>2016-03-29T01:02:54.894+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="URI Online Judge Solution"/><title type='text'>URI Online Judge | 1921 Guilherme and His Kites Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://www.urionlinejudge.com.br/judge/en/problems/view/1921&quot;&gt;URI Online Judge | 1921 Guilherme and His Kites&lt;/a&gt;&lt;br /&gt;
Solution:&lt;br /&gt;
Language:C++&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;

#include &amp;lt;iostream&amp;gt;
using namespace std;
int main(){
    long long int n;
    cin&amp;gt;&amp;gt;n;
    cout&amp;lt;&amp;lt;n*(n-3)/2&amp;lt;&amp;lt;endl;

}

&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/6063789078978662204/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/03/uri-online-judge-1921-guilherme-and-his.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/6063789078978662204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/6063789078978662204'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/03/uri-online-judge-1921-guilherme-and-his.html' title='URI Online Judge | 1921 Guilherme and His Kites Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-2899605616291856615</id><published>2016-03-29T00:52:00.001+06:00</published><updated>2016-03-29T00:55:23.312+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="URI Online Judge Solution"/><title type='text'>URI Online Judge | 1789 The Race of Slugs Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://www.urionlinejudge.com.br/judge/en/problems/view/1789&quot;&gt;URI Online Judge | 1789 The Race of Slugs&lt;/a&gt;&lt;/div&gt;
Solution:&lt;br /&gt;
Language:C++
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
#include &amp;lt;iostream&amp;gt;
using namespace std;
int main(){
    int l,maximum,num;
    while(cin&amp;gt;&amp;gt;l){
            maximum = 0;
        for(int i = 0; i&amp;lt;l; i++){

            cin&amp;gt;&amp;gt;num;
            if(num&amp;gt;maximum)
                maximum = num;

        }

        if(maximum&amp;lt;10)
            cout&amp;lt;&amp;lt;1&amp;lt;&amp;lt;endl;
        else if(maximum&amp;gt;=10&amp;amp;&amp;amp;maximum&amp;lt;20)
            cout&amp;lt;&amp;lt;2&amp;lt;&amp;lt;endl;
        else
            cout&amp;lt;&amp;lt;3&amp;lt;&amp;lt;endl;
    }

}


&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/2899605616291856615/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/03/uri-online-judge-1789-race-of-slugs.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/2899605616291856615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/2899605616291856615'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/03/uri-online-judge-1789-race-of-slugs.html' title='URI Online Judge | 1789 The Race of Slugs Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-1130382307172019889</id><published>2016-03-29T00:39:00.000+06:00</published><updated>2016-03-29T00:39:00.970+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="URI Online Judge Solution"/><title type='text'>URI Online Judge | 1237 Compare Substring Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://www.urionlinejudge.com.br/judge/en/problems/view/1237&quot;&gt;URI Online Judge | 1237 Compare Substring&lt;/a&gt;&lt;/div&gt;
Solution:&lt;br /&gt;
Language: C++
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;

#include &amp;lt;iostream&amp;gt;
#include &amp;lt;string&amp;gt;
#include &amp;lt;cstring&amp;gt;

using namespace std;

void lcs(string x,string y)
{


    int m = x.length();
    int n = y.length();
    int res = 0;
    for(int i = 0; i&amp;lt;m; i++)
        for(int j = 0; j&amp;lt;n ; j++)
        {
            if(x[i]==y[j])
            {
                int c = 0;
                for(int k = 0; k+i&amp;lt;m,k+j&amp;lt;n; k++)
                {
                    if(x[k+i]!=y[k+j])
                        break;
                    c++;
                }
                if(c&amp;gt;res)
                    res = c;
            }


        }
    cout&amp;lt;&amp;lt;res&amp;lt;&amp;lt;endl;


}

int main()
{

    string first,second;


    while(getline(cin,first)&amp;amp;&amp;amp;getline(cin,second))
    {
        lcs(first,second);
    }
    return 0;
}

&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/1130382307172019889/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/03/uri-online-judge-1237-compare-substring.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/1130382307172019889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/1130382307172019889'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/03/uri-online-judge-1237-compare-substring.html' title='URI Online Judge | 1237 Compare Substring Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-9121953537022209215</id><published>2016-03-28T01:34:00.000+06:00</published><updated>2016-03-28T01:34:48.809+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="URI Online Judge Solution"/><title type='text'>URI Online Judge | 1566 Height Soluiton</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://www.urionlinejudge.com.br/judge/en/problems/view/1566&quot;&gt;URI Online Judge | 1566&lt;/a&gt;&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;

#include &amp;lt;iostream&amp;gt;
#include &amp;lt;algorithm&amp;gt;
#include &amp;lt;cstdio&amp;gt;
using namespace std;
int main()
{
    int nc;
    int n;
    cin&amp;gt;&amp;gt;nc;
    while(nc--&amp;gt;0)
    {
        scanf(&quot;%d&quot;,&amp;amp;n);
        vector&amp;lt;int&amp;gt; people(n);
        for(int i = 0; i&amp;lt;n; i++)
            scanf(&quot;%d&quot;,&amp;amp;people[i]);
        sort(people.begin(),people.end());

        for(int i = 0; i&amp;lt;n-1; i++)
            printf(&quot;%d &quot;,people[i]);

        printf(&quot;%d&quot;,people[n-1]);
        printf(&quot;\n&quot;);

    }


}



&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/9121953537022209215/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/03/uri-online-judge-1566-height-soluiton.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/9121953537022209215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/9121953537022209215'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/03/uri-online-judge-1566-height-soluiton.html' title='URI Online Judge | 1566 Height Soluiton'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-3238237643776235026</id><published>2016-02-29T15:03:00.002+06:00</published><updated>2016-02-29T15:12:58.111+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="তথ্য প্রযুক্তির খবর"/><title type='text'>মুক্তি পেয়েছে রাসবেরি পাইয়ের নতুন মডেল রাসবেরি পাই ৩ </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
অাজকে রাসবেরি পাই ফাউন্ডেশন তাদের ব্লগে&lt;a href=&quot;https://www.raspberrypi.org/blog/raspberry-pi-3-on-sale/&quot;&gt; রাসবেরি পাই ৩&lt;/a&gt; এর ঘোষণা দিয়েছে । যাতে রয়েছে ৬৪ বিট অার্ম ভি৮ কোয়াড কোর প্রসেসর যার ক্লক স্পিড ১.২ গিগাহার্টজ( রাসবেরি পাইয়ে ১ এর চেয়ে প্রায় ১০ গুণ বেশি গতি রাসবেরি পাই ফাউন্ডেশনের বেঞ্চমার্ক অনুযায়ী ) । ওয়াইফাই ও ব্লুটুথ অাছে এই বোর্ডটিতে । মূল্য রাখা হয়েছে ৩৫ ডলার ।&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;img alt=&quot;Raspberry Pi 3 Model B&quot; class=&quot;size-large wp-image-20235&quot; height=&quot;334&quot; src=&quot;https://www.raspberrypi.org/wp-content/uploads/2016/02/IMG_4090-500x334.jpg&quot; style=&quot;margin-left: auto; margin-right: auto;&quot; width=&quot;500&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Rasberry Pi 3 Model B ছবি: রাসবেরি পাই ফাউন্ডেশনের ওয়েবসাইট&amp;nbsp;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;নতুন কি অাছে ?&lt;/b&gt;&lt;br /&gt;
৮০২.১১এন ওয়ারলেস ল্যান যা দিয়ে ইন্টারনেটের সাথে সংযুক্ত করা যাবে&amp;nbsp; । রয়েছে&amp;nbsp; ব্লুটুথ ভার্সন&amp;nbsp; ৪.১ যা দিয়ে ব্লুটুথ মাউস ও কিবোর্ডের সাথে সংযুক্ত করা যাবে । &lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
রাসবেরি পাই ৩ রাসবেরি পাই ১ ও ২ এর সাথে কমপ্যাটিবল । সব কানেক্টর অাগের মডেলগুলোর মত একই জায়গায় অাছে এবং সেগুলোর কাজও অাগের মতই । অাগের মত ৫ ভোল্টের মাইক্রো ইউএসবি দিয়ে চালানো যাবে&amp;nbsp; । অনলাইনে ডিস্ট্রিবিউটরদের কাছ থেকে কেনা যাবে । তবে বাংলাদেশের রোবোটিকস ও ইলেক্ট্রনিকসের অনলাইন শপে পেতে হলে অাপনাকে কিছুদিন অপেক্ষা করতে&amp;nbsp; হবে । &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/3238237643776235026/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/02/blog-post_29.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/3238237643776235026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/3238237643776235026'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/02/blog-post_29.html' title='মুক্তি পেয়েছে রাসবেরি পাইয়ের নতুন মডেল রাসবেরি পাই ৩ '/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-4374133000224671066</id><published>2016-02-21T13:57:00.002+06:00</published><updated>2016-02-21T13:57:27.974+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Timus Online Judge"/><title type='text'>Timus Online Judge 1086. Cryptography Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://acm.timus.ru/problem.aspx?space=1&amp;amp;num=1086&quot;&gt;1086. Cryptography&lt;/a&gt;&lt;br /&gt;
Language: c++&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;
#include &amp;lt;iostream&amp;gt;
#include &amp;lt;vector&amp;gt;
#define M 1000000
using namespace std;
bool marked[M];

bool isPrime(int n)
{
    if (n &amp;lt; 2) return false;
    if (n == 2) return true;
    if (n % 2 == 0) return false;
    return marked[n] == false;
}

void sieve(int n)
{
    for (int i = 3; i * i &amp;lt;= n; i += 2)
    {
        if (marked[i] == false)
        {
            for (int j = i * i; j &amp;lt;= n; j += i + i)
            {
                marked[j] = true;
            }
        }
    }
}
int main()
{

    int k,num;
    cin&amp;gt;&amp;gt;k;
    sieve(1000000);

    vector&amp;lt;int&amp;gt; result;

    for(int i = 0; i&amp;lt;1000000; i++)
        if(isPrime(i))
            result.push_back(i);
    while(k--&amp;gt;0)
    {

        cin&amp;gt;&amp;gt;num;
        cout&amp;lt;&amp;lt;result[num-1]&amp;lt;&amp;lt;endl;


    }

}


&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/4374133000224671066/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/02/timus-online-judge-1086-cryptography.html#comment-form' title='3টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/4374133000224671066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/4374133000224671066'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/02/timus-online-judge-1086-cryptography.html' title='Timus Online Judge 1086. Cryptography Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-282958941553117837</id><published>2016-02-20T21:44:00.000+06:00</published><updated>2016-02-21T12:26:07.871+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="সি লাইব্রেরী ফাংশন"/><category scheme="http://www.blogger.com/atom/ns#" term="সি স্ট্যান্ডার্ড লাইব্রেরী ফাংশন"/><title type='text'>সি লাইব্রেরি ফাংশন log() ব্যবহার করে যে কোন সংখ্যার ন্যাচারাল লগারিদম বের করার টিউটোরিয়াল </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
সি প্রোগ্রামিং ভাষায় লগারিদম বের করার জন্যে অামরা লাইব্রেরি ফাংশন ব্যবহার করতে পারি । অাজ অামরা দেখব ন্যাচারাল লগারিদম বের করার জন্য log() লাইব্রেরি ফাংশনের ব্যবহার। e ভিত্তিক লগারিদমকে ন্যাচারাল লগারিদম বলা হয় ।&lt;br /&gt;
&lt;br /&gt;
log()&amp;nbsp; ফাংশনটি প্যারামিটার হিসেবে একটি ফ্লোটিং পয়েন্ট(ইন্টিজার,ডাবল বা ফ্লোট ) সংখ্যা নেয় এবং তার ন্যাচারাল লগারিদম (ডাবল ডাটাটাইপ) রিটার্ন করে ।&amp;nbsp; log() লাইব্রেরি ফাংশন ব্যবহার করার জন্যে math.h হেডার ফাইলটি প্রোগ্রামে যুক্ত করতে হবে ।&amp;nbsp; এই জন্য নিচের লাইনটি প্রোগ্রামের শুরুতে লিখতে হবে ।

&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
#include &amp;lt;math.h&amp;gt;&lt;/code&gt;&lt;/pre&gt;
এখন&amp;nbsp; প্রোগ্রামের বাকি অংশ&amp;nbsp; দেখব ।&amp;nbsp; প্রোগ্রামে&amp;nbsp; দুইটি ডাবল টাইপের ভ্যারিয়েবল number, natLogNum তৈরি করা হয়েছে&amp;nbsp; । প্রথমে প্রোগ্রামটি রান করার পরে একটি সংখ্যা ইনপুট চাইবে । ইনপুট হিসেবে যে সংখ্যাটি দেয়া হবে তা number ভ্যারিয়েবলে জমা হবে । number এর ন্যাচারাল লগারিদম বের করার জন্যে নিচের লাইনটি লেখা হয়েছে । &lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
  natLogNum = log(number);&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
log() ফাংশনে প্যারামিটার হিসেবে number ভ্যারিয়েবল দেওয়ায় ফাংশনটি number ভেরিয়েবলের মান যত হবে তার ন্যাচারাল লগারিদম রিটার্ন করবে এবং তা natLogNum ভেরিয়েবলে অ্যাসাইন হবে । তারপরের লাইনে number ভ্যারিয়েবল ও তার ন্যাচারাল লগারিদমের মান প্রিন্ট করা হয়েছে ।&lt;br /&gt;
সম্পূর্ণ প্রোগ্রাম : &lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;math.h&amp;gt;

int main()
{
    double number;
    double natLogNum;
    printf(&quot;Enter a number: \n&quot;);
    scanf(&quot;%lf&quot;,&amp;amp;number);
    natLogNum = log(number);
    printf(&quot;Natural log of %lf = %lf\n&quot;,number,natLogNum);

    return 0;


}

&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
এখন প্রোগ্রামটি চালিয়ে দেখব ।&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi78WoJArkQ8q9XIRkA5P0TvZVCrJKrzUzobPeMNAYW2fulgSEFreRr-JcWquiEl-ZlReNwz01pezQszn5oEwCoXFS46_IifcVGz0o_Llf02KZxaLhPG5QwwQVknLFi3AZD2MJkEoPTVDQ/s1600/Screenshot+from+2016-02-20+21%253A30%253A00.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;448&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi78WoJArkQ8q9XIRkA5P0TvZVCrJKrzUzobPeMNAYW2fulgSEFreRr-JcWquiEl-ZlReNwz01pezQszn5oEwCoXFS46_IifcVGz0o_Llf02KZxaLhPG5QwwQVknLFi3AZD2MJkEoPTVDQ/s640/Screenshot+from+2016-02-20+21%253A30%253A00.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;ন্যাচারাল লগারিদম বের করার প্রোগ্রাম&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
ইনপুট হিসেবে 25 সংখ্যা দেয়ার পরে 25 এর ন্যাচারাল&amp;nbsp; লগারিদম 3.218876 প্রিন্ট হয়েছে । &lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/282958941553117837/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/02/log.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/282958941553117837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/282958941553117837'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/02/log.html' title='সি লাইব্রেরি ফাংশন log() ব্যবহার করে যে কোন সংখ্যার ন্যাচারাল লগারিদম বের করার টিউটোরিয়াল '/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi78WoJArkQ8q9XIRkA5P0TvZVCrJKrzUzobPeMNAYW2fulgSEFreRr-JcWquiEl-ZlReNwz01pezQszn5oEwCoXFS46_IifcVGz0o_Llf02KZxaLhPG5QwwQVknLFi3AZD2MJkEoPTVDQ/s72-c/Screenshot+from+2016-02-20+21%253A30%253A00.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-9219147768761422546</id><published>2016-02-20T10:38:00.000+06:00</published><updated>2016-02-20T10:38:03.609+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Timus Online Judge"/><title type='text'>Timus Online Judge 1083. Factorials!!! Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://acm.timus.ru/problem.aspx?space=1&amp;amp;num=1083&quot;&gt;1083. Factorials!!!&lt;/a&gt;&lt;br /&gt;
Language:c++&lt;br /&gt;
Solution:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;
#include &amp;lt;iostream&amp;gt;

using namespace std;

int main()
{

    int n,k;
    int result = 1;
    string line;
    cin&amp;gt;&amp;gt;n&amp;gt;&amp;gt;line;
    k = line.length();



    for(int i = n; i&amp;gt;0; i = i-k)
    {
        result*=i;
    }

    cout&amp;lt;&amp;lt;result&amp;lt;&amp;lt;endl;



}

&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/9219147768761422546/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/02/timus-online-judge-1083-factorials.html#comment-form' title='2টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/9219147768761422546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/9219147768761422546'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/02/timus-online-judge-1083-factorials.html' title='Timus Online Judge 1083. Factorials!!! Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-2300960372581519471</id><published>2016-02-20T10:18:00.002+06:00</published><updated>2016-02-20T10:18:35.207+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Timus Online Judge"/><title type='text'>Timus Online Judge 1068. Sum Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://acm.timus.ru/problem.aspx?space=1&amp;amp;num=1068&quot;&gt;1068. Sum&lt;/a&gt;&lt;br /&gt;
Language: c++&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;

#include &amp;lt;iostream&amp;gt;

using namespace std;

int main()
{
    int N,sum;
    cin&amp;gt;&amp;gt;N;

    if(N&amp;gt;0)
          sum = N*(N+1)/2;

    else
        sum = (N*(N-1)/2-1)*-1;
    cout&amp;lt;&amp;lt;sum&amp;lt;&amp;lt;endl;


}


&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/2300960372581519471/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/02/timus-online-judge-1068-sum-solution.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/2300960372581519471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/2300960372581519471'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/02/timus-online-judge-1068-sum-solution.html' title='Timus Online Judge 1068. Sum Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-1876814099552557401</id><published>2016-02-18T12:43:00.003+06:00</published><updated>2016-02-18T12:43:34.679+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Timus Online Judge"/><title type='text'>Timus Online Judge 1409. Two Gangsters Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://acm.timus.ru/problem.aspx?space=1&amp;amp;num=1409&quot;&gt;1409. Two Gangsters&lt;/a&gt;&lt;br /&gt;
Language: c++&lt;br /&gt;
Solution:&lt;br /&gt;
&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;

#include &amp;lt;iostream&amp;gt;

using namespace std;

int main(){

    int a,b;
    cin&amp;gt;&amp;gt;a&amp;gt;&amp;gt;b;
    int totalCan = a+b-1;
    cout&amp;lt;&amp;lt;(totalCan-a)&amp;lt;&amp;lt;&quot; &quot;&amp;lt;&amp;lt;(totalCan-b)&amp;lt;&amp;lt;endl;
}

&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/1876814099552557401/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/02/timus-online-judge-1409-two-gangsters.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/1876814099552557401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/1876814099552557401'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/02/timus-online-judge-1409-two-gangsters.html' title='Timus Online Judge 1409. Two Gangsters Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-1185729548559596517</id><published>2016-02-18T12:18:00.002+06:00</published><updated>2016-02-18T12:18:13.222+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Timus Online Judge"/><title type='text'>Timus Online Judge 1293. Eniya Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://acm.timus.ru/problem.aspx?space=1&amp;amp;num=1293&quot;&gt;1293. Eniya&lt;/a&gt;&lt;br /&gt;
Language: c++&lt;br /&gt;
Solution:&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;

#include &amp;lt;iostream&amp;gt;

using namespace std;

int main(){
    int n,a,b;
    cin&amp;gt;&amp;gt;n&amp;gt;&amp;gt;a&amp;gt;&amp;gt;b;
    cout&amp;lt;&amp;lt;n*a*b*2&amp;lt;&amp;lt;endl;

}

&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/1185729548559596517/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/02/timus-online-judge-1293-eniya-solution.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/1185729548559596517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/1185729548559596517'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/02/timus-online-judge-1293-eniya-solution.html' title='Timus Online Judge 1293. Eniya Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-152254319279798633</id><published>2016-02-18T12:13:00.004+06:00</published><updated>2016-02-18T12:13:58.511+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Timus Online Judge"/><title type='text'>Timus Online Judge 1264. Workdays Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://acm.timus.ru/problem.aspx?space=1&amp;amp;num=1264&quot;&gt;1264. Workdays&lt;/a&gt;&lt;br /&gt;
Language: c++&lt;br /&gt;
Solution:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;

#include &amp;lt;iostream&amp;gt;

using namespace std;

int main(){
    int n,m;
    cin&amp;gt;&amp;gt;n&amp;gt;&amp;gt;m;
    cout&amp;lt;&amp;lt;n*(m+1)&amp;lt;&amp;lt;endl;


}


&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/152254319279798633/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/02/timus-online-judge-1264-workdays.html#comment-form' title='1টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/152254319279798633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/152254319279798633'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/02/timus-online-judge-1264-workdays.html' title='Timus Online Judge 1264. Workdays Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-1767706627479130744</id><published>2016-02-18T12:07:00.002+06:00</published><updated>2016-02-18T12:07:21.906+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Timus Online Judge"/><title type='text'>Timus Online Judge 1000. A+B Problem Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://acm.timus.ru/problem.aspx?space=1&amp;amp;num=1000&quot;&gt;1000. A+B Problem&lt;/a&gt;&lt;br /&gt;
Language: c++&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;


#include &amp;lt;iostream&amp;gt;

using namespace std;

int main(){

    int a,b;
    cin&amp;gt;&amp;gt;a&amp;gt;&amp;gt;b;
    cout&amp;lt;&amp;lt;a+b;
}

&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/1767706627479130744/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/02/timus-online-judge-1000-ab-problem.html#comment-form' title='1টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/1767706627479130744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/1767706627479130744'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/02/timus-online-judge-1000-ab-problem.html' title='Timus Online Judge 1000. A+B Problem Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6166798752249187938.post-1132179005528428729</id><published>2016-02-08T19:00:00.000+06:00</published><updated>2016-02-08T19:00:04.539+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="URI Online Judge Solution"/><title type='text'>URI Online Judge | 1273 Justifier Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://URI Online Judge | 1273 Justifier &quot;&gt;URI Online Judge | 1273 Justifier &lt;/a&gt;&lt;br /&gt;
Language: C++&lt;br /&gt;
Solution:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;

#include &amp;lt;string&amp;gt;
#include &amp;lt;iostream&amp;gt;
#include &amp;lt;vector&amp;gt;
#include &amp;lt;string&amp;gt;
#include &amp;lt;iomanip&amp;gt;
using namespace std;

int main()
{
    int N,length,mark = 0;
    vector&amp;lt;string&amp;gt; words;
    string word;
    while(cin&amp;gt;&amp;gt;N&amp;amp;&amp;amp;N)
    {
        length = 0;

        for(int i = 0 ; i&amp;lt;N; i++)
        {
            cin&amp;gt;&amp;gt;word;
            if(word.length()&amp;gt;length)
                length = word.length();
            words.push_back(word);
        }
        if(mark!=0)
            cout&amp;lt;&amp;lt;endl;
        else
            mark = 1;
        for(int i = 0; i&amp;lt;N; i++)
        {
            cout&amp;lt;&amp;lt;right&amp;lt;&amp;lt;setw(length)&amp;lt;&amp;lt;words.at(i)&amp;lt;&amp;lt;endl;
        }

        words.clear();

    }





}

&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://a-plasma.blogspot.com/feeds/1132179005528428729/comments/default' title='মন্তব্যগুলি পোস্ট করুন'/><link rel='replies' type='text/html' href='http://a-plasma.blogspot.com/2016/02/uri-online-judge-1273-justifier-solution.html#comment-form' title='0টি মন্তব্য'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/1132179005528428729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6166798752249187938/posts/default/1132179005528428729'/><link rel='alternate' type='text/html' href='http://a-plasma.blogspot.com/2016/02/uri-online-judge-1273-justifier-solution.html' title='URI Online Judge | 1273 Justifier Solution'/><author><name>Md Rana Mahmud</name><uri>http://www.blogger.com/profile/10309923203456198316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>