<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Mendo Judge Discussion Board - Latest forum topics]]></title>
		<link>http://mendo.mk/jforum/recentTopics/list.page</link>
		<description><![CDATA[The newest discussed topics in the entire board]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Натпревари по информатика 2022</title>
				<description><![CDATA[ Започнува циклусот на натпревари по информатика за 2022-ва година!<br />    <a class="snap_shots" href="http://cs.org.mk/index.php/19-nasloven-nastan/490-ciklus-natprevari-2022-start" target="_blank" rel="nofollow">http://cs.org.mk/index.php/19-nasloven-nastan/490-ciklus-natprevari-2022-start</a><br /> <br /> Повеќе информации за натпреварите за основно и средно образование, може да се најдат на веб-сајтот на ЗИМ или на почетната страница на МЕНДО.]]></description>
				<guid isPermaLink="true">http://mendo.mk/jforum/posts/preList/718/3850.page</guid>
				<link>http://mendo.mk/jforum/posts/preList/718/3850.page</link>
				<pubDate><![CDATA[Mon, 21 Feb 2022 16:43:19]]> GMT</pubDate>
				<author><![CDATA[ MOI]]></author>
			</item>
			<item>
				<title>Натпревари по информатика 2021</title>
				<description><![CDATA[ Започнува циклусот на натпревари по информатика за 2021-ва година!<br /> <br /> Повеќе информации за натпреварите за основно и средно образование, може да се најдат на веб-сајтот на ЗИМ или на почетната страница на МЕНДО.]]></description>
				<guid isPermaLink="true">http://mendo.mk/jforum/posts/preList/717/3849.page</guid>
				<link>http://mendo.mk/jforum/posts/preList/717/3849.page</link>
				<pubDate><![CDATA[Mon, 15 Feb 2021 14:06:14]]> GMT</pubDate>
				<author><![CDATA[ MOI]]></author>
			</item>
			<item>
				<title>COCI 2020/2021</title>
				<description><![CDATA[ Croatian Open Competition in Informatics - COCI 2020/2021<br /> Internet online contest series<br /> <br /> Over the next six months we will organize seven online contests as a warm-up for the 2021 season of high school programming competitions. Everyone is welcome to participate! Each contest will be three hours long and will feature five tasks. The contestants will also have full feedback with at most 50 submissions per task. The tasks will be of widely varying difficulty; we hope that many beginner or up-and-coming contestants will participate, as well as the more experienced ones.<br /> <br /> The first contest will be held this Saturday, October 17, starting at 14:00 (GMT/UTC). Check out your local times at <a class="snap_shots" href="https://hsin.hr/coci/next_contest.html" target="_blank" rel="nofollow">https://hsin.hr/coci/next_contest.html</a><br /> You may use Python, Pascal, C/C++ or Java as your programming language of choice.<br /> The contest will also be featured on a newly-developed judging system. If your students wish to get a bit more familiar with the system, we have uploaded the last 14 COCI seasons for them to practice on. Most problems (except for the very easy ones) have English translations.<br /> <br />  <br /> The two relevant websites are:<br /> <a class="snap_shots" href="https://hsin.hr/coci/" target="_blank" rel="nofollow">https://hsin.hr/coci/</a> - information about the contest<br /> <a class="snap_shots" href="https://evaluator.hsin.hr/" target="_blank" rel="nofollow">https://evaluator.hsin.hr/</a> - judging system<br /> <br /> We hope that you will join us or encourage your students to do so!<br /> This is the fifteenth year in a row that we are hosting the COCI series. You can find the tasks (statements, test data and solutions) from the previous years at <a class="snap_shots" href="https://hsin.hr/coci/." target="_blank" rel="nofollow">https://hsin.hr/coci/.</a> There are over 600 original tasks for students to practice on!<br /> <br /> With regards,<br /> Kresimir Malnar<br /> Croatian Computer Science Association]]></description>
				<guid isPermaLink="true">http://mendo.mk/jforum/posts/preList/716/3848.page</guid>
				<link>http://mendo.mk/jforum/posts/preList/716/3848.page</link>
				<pubDate><![CDATA[Sat, 17 Oct 2020 15:00:05]]> GMT</pubDate>
				<author><![CDATA[ longhi]]></author>
			</item>
			<item>
				<title>МОИ и МЈОИ 2020</title>
				<description><![CDATA[ На 18.08.2020 и 19.08.2020 се оддржа Македонската (Јуниорска) Олимпијада по информатика 2020. Согласно со генералните препораки за актуелната здравствена криза, МОИ и МЈОИ се оддржаа во скратен формат.<br /> <br /> Повеќе информации можете да најдете на веб-сајтот на ЗИМ: <br /> <a class="snap_shots" href="http://cs.org.mk/index.php/natprevari/srednoobrazovanie/makedonskaolimpijada-informatika" target="_blank" rel="nofollow">http://cs.org.mk/index.php/natprevari/srednoobrazovanie/makedonskaolimpijada-informatika</a><br /> <br /> Задачите и тест случаите се веќе објавени во делот за тренинг на МЕНДО.]]></description>
				<guid isPermaLink="true">http://mendo.mk/jforum/posts/preList/715/3847.page</guid>
				<link>http://mendo.mk/jforum/posts/preList/715/3847.page</link>
				<pubDate><![CDATA[Wed, 19 Aug 2020 21:00:46]]> GMT</pubDate>
				<author><![CDATA[ MOI]]></author>
			</item>
			<item>
				<title>Натпревари по информатика 2020</title>
				<description><![CDATA[ Treba da se dodadat natprevarite za 2020 godina, za da gi ima i na MENDO.]]></description>
				<guid isPermaLink="true">http://mendo.mk/jforum/posts/preList/713/3843.page</guid>
				<link>http://mendo.mk/jforum/posts/preList/713/3843.page</link>
				<pubDate><![CDATA[Sat, 25 Jan 2020 12:16:15]]> GMT</pubDate>
				<author><![CDATA[ longhi]]></author>
			</item>
			<item>
				<title>USACO 2019/2020</title>
				<description><![CDATA[ USACO 2019/2020<br /> <br /> USACO will organize several online contests in 2019 and 2020. Participation is free, and open to all. The contests are available in four divisions: bronze, silver, gold, and platinum. <br /> All returning participants start out in their former divisions, and new participants start out in the bronze division. The contests are for individuals only, not teams.<br /> <br /> Each contest has 3 problems to which you will submit solution programs in C, C++, Pascal, Java, or Python.<br /> The USACO 2019 December contest is available from December 13 through December 16. Visit the USACO website for more information, including the schedule for future competitions: [url]http://usaco.org/[/url]<br /> ]]></description>
				<guid isPermaLink="true">http://mendo.mk/jforum/posts/preList/712/3842.page</guid>
				<link>http://mendo.mk/jforum/posts/preList/712/3842.page</link>
				<pubDate><![CDATA[Thu, 2 Jan 2020 20:07:14]]> GMT</pubDate>
				<author><![CDATA[ MOI]]></author>
			</item>
			<item>
				<title>COCI 2019/2020</title>
				<description><![CDATA[ COCI 2019/2020<br /> Internet online contest series<br /> Direct link: [url]http://hsin.hr/coci/[/url]<br />  <br /> Over the next six months we will organize seven online contests as a warm-up for the 2020 season of high school programming competitions. Everyone is welcome to participate!<br />  Each contest will be three hours long and will feature five tasks. The tasks will be of widely varying difficulty; we hope that many beginner or up-and-coming contestants will participate, as well as the more experienced ones.<br />  <br /> The first contest will be held on Saturday, 19 October 2019, starting at 14:00 (GMT/UTC). You may use Python, Pascal, C/C++ or Java as your programming language of choice.<br />  <br /> Instructions, problems and the contest system will be located at [url]http://evaluator.hsin.hr[/url]<br />  <br /> This web page will be available for registration 48 hours before the contest. <br /> You can find problems, test data and solutions from previous Croatian competitions in informatics here: [url]http://hsin.hr/coci/[/url]<br /> ]]></description>
				<guid isPermaLink="true">http://mendo.mk/jforum/posts/preList/711/3841.page</guid>
				<link>http://mendo.mk/jforum/posts/preList/711/3841.page</link>
				<pubDate><![CDATA[Sun, 13 Oct 2019 20:18:02]]> GMT</pubDate>
				<author><![CDATA[ longhi]]></author>
			</item>
			<item>
				<title>Nov server</title>
				<description><![CDATA[ Pred okolu eden mesec, so cel postabilno i poefikasno rabotenje na MENDO, sistemot beshe premesten na nova mashina i nova lokacija. Nashite testovi i analizi pokazuvaat deka site elementi rabotat kako shto treba.<br /> <br /> Kako korisnici na sistemot, dokolku zabelezhite bilo kakov problem so MENDO, mozhete da ni ispratite e-mail poraka koristejki gi slednite kontakti: [url]http://mendo.mk/Help.do[/url]]]></description>
				<guid isPermaLink="true">http://mendo.mk/jforum/posts/preList/710/3840.page</guid>
				<link>http://mendo.mk/jforum/posts/preList/710/3840.page</link>
				<pubDate><![CDATA[Sun, 13 Oct 2019 18:36:57]]> GMT</pubDate>
				<author><![CDATA[ MOI]]></author>
			</item>
			<item>
				<title>JOI Open Contest 2019</title>
				<description><![CDATA[ Dear all,<br /> <br /> JOI Open Contest 2019 is an IOI-like open competition for students at<br /> schools for secondary education. The main purpose of this contest is<br /> to give Japanese delegations and candidates of delegations an <br /> opportunity for training and practice. But the contest itself is open to everybody.<br /> Everybody is welcome to attend JOI Open Contest 2019!<br /> <br /> This year, the contest will be held on 14 July 2019.<br /> There will be 3 tasks. Each submitted source program must be written<br /> in C++ (C++14). Problem statements will be provided both in Japanese<br /> and English.<br /> <br /> The duration of the contest is 5 hours. The same contests will be held<br /> twice (Round 1 and Round 2). Contestants can participate in one of<br /> Round 1 or Round 2 according to their time zone. After Round 2 finishes,<br /> we will open the judging server for one day. Interested contestants can<br /> improve and resubmit their solutions by themselves.<br /> <br /> After the contest finishes, we will fix the standings.<br /> No prizes will be given to the contestants.<br /> <br /> Contest website:<br /> [url]https://contests.ioi-jp.org/open-2019/index.html[/url]<br /> <br /> Contest duration: 5 hours<br /> The number of tasks: 3 tasks<br /> Language: English, Japanese<br /> Programming Language: C++ (C++14)<br /> Details will be announced on the contest website.<br /> <br /> <br /> Date & Time:<br /> Round 1<br />   Sunday, July 14, 2019<br />   13:00-18:00 +0900 (JST)<br />   04:00-09:00 (UTC/GMT)<br /> <br /> Round 2 (tasks for Round 1 and Round 2 are the same)<br />   Sunday, July 14, 2019<br />   19:00-24:00 +0900 (JST)<br />   10:00-15:00 (UTC/GMT)<br /> <br /> Judging Server is open until<br />   Monday, July 15, 2019<br />   23:00 +0900 (JST)<br />   14:00 (UTC/GMT)<br /> <br /> ======<br /> Executive director of the Japanese Committee for the IOI<br /> Seiichi Tani<br /> <br /> Chairperson of the Scientific Committee of JCIOI]]></description>
				<guid isPermaLink="true">http://mendo.mk/jforum/posts/preList/709/3839.page</guid>
				<link>http://mendo.mk/jforum/posts/preList/709/3839.page</link>
				<pubDate><![CDATA[Tue, 2 Jul 2019 18:40:59]]> GMT</pubDate>
				<author><![CDATA[ petarsor]]></author>
			</item>
			<item>
				<title>Zadaca Piano</title>
				<description><![CDATA[ Raboti na 6/20. Ne znam kade pravam greska. Kje mi pomogne nekoj?<br /> [code]#include &lt;bits/stdc++.h&gt;<br /> <br /> using namespace std;<br /> <br /> typedef long long ll;<br /> typedef pair&lt;int,int&gt; pi;<br /> int n,m;<br /> char mat[51][51];<br /> bool vis[51][51];<br /> vector&lt;pair&gt;&lt;int,int&gt; &gt; v1,v2,v3,e;<br /> int di[4]={0,0,-1,1};<br /> int dj[4]={1,-1,0,0};<br /> <br /> bool valid_move(int i, int j)<br /> {<br />     if(i&lt;0 || i&gt;=n || j&lt;0 || j&gt;=m || mat[i][j]=='#')return false; // dali e ok potegot<br />     return true;<br /> }<br /> <br /> bool to_the_end(vector&lt;pi&gt; v)<br /> {<br /> <br />     for(int i=0; i&lt;v.size(); i++)&gt;<br />     {<br />         if(v[i].first==e[i].first && v[i].second==e[i].second)continue; // dali stignav do F-s<br />         else return false;<br />     }<br />     return true;<br /> }<br /> int bfs(vector&lt;pi&gt; start,vector&lt;pi&gt; end)<br /> {<br />     for(int i=0; i&lt;n; i++)&gt;<br />     {<br />         for(int j=0; j&lt;m; j++)&gt;<br />         {<br />             vis[i][j]=false;<br />         }<br />     }<br />     queue&lt;vector&gt;&lt;pair&gt;&lt;int,int&gt; &gt; &gt; q;<br />     vector&lt;pair&gt;&lt;int,int&gt; &gt; v5;<br />     for(pi curr :start)<br />     {<br />         int i=curr.first;<br />         int j=curr.second;  //mu pravi true na site od pocetniot klavir<br />         vis[i][j]=true;<br />         v5.push_back({i,j});<br />     }<br />     q.push(v5);<br />     queue&lt;int&gt; cekor;<br />     cekor.push(0);<br />     while(!q.empty())<br />     {<br />         vector&lt;pi&gt; v=q.front();<br />         q.pop();<br />         int c=cekor.front();<br />         cekor.pop();<br />         if(to_the_end(v))return c; // ako stignav do kraj<br />         for(int k=0; k&lt;4; k++)<br />         {<br />             vector&lt;pi&gt; nov;<br />             bool flag=false;<br />             for(int z=0; z&lt;v.size(); z++)&gt;<br />             {<br />                 nov.push_back({v[z].first+di[k],v[z].second+dj[k]}); // go pomestuva cel objekt na nekoja nasoka<br />                 if(vis[v[z].first+di[k]][v[z].second+dj[k]]==true)flag=true;<br />             }<br />             bool can=true;<br />             for(int z=0; z&lt;nov.size(); z++)&gt;<br />             {<br />                 if(!valid_move(nov[z].first,nov[z].second)) // proveruva dali validna nasokata<br />                 {<br />                     can=false;<br />                     break;<br />                 }<br />             }<br />             if(can && !flag)<br />             {<br />                 q.push(nov);<br />                 cekor.push(c+1);<br />                 for(int i=0; i&lt;nov.size(); i++)&gt;<br />                 {<br />                     vis[nov[i].first][nov[i].second]=true; // ako moze go zemam vektorot<br />                 }<br />             }<br />         }<br />     }<br />     return -1;<br /> <br /> }<br /> int main()<br /> {<br />     cin&gt;&gt;n&gt;&gt;m;<br />     for(int i=0; i&lt;n; i++)&gt;<br />     {<br />         for(int j=0; j&lt;m; j++)&gt;<br />         {<br /> <br />             cin&gt;&gt;mat[i][j];<br />             if(mat[i][j]=='1')<br />             {<br />                 v1.push_back({i,j});<br />             }<br />             else if(mat[i][j]=='2')<br />             {<br />                 v2.push_back({i,j});<br />             }<br />             else if(mat[i][j]=='3')<br />             {<br />                 v3.push_back({i,j});<br />             }<br />             else if(mat[i][j]=='F')<br />             {<br />                 e.push_back({i,j});<br />             }<br />         }<br />     }<br />     vector&lt;int&gt; res;<br />     res.push_back(bfs(v1,e));<br />     if(v2.size()&gt;0)res.push_back(bfs(v2,e));<br />     if(v3.size()&gt;0)res.push_back(bfs(v3,e));<br />     int ret=1000000;<br />     int type=1;<br />     for(int i=0; i&lt;res.size(); i++)&gt;<br />     {<br />         if(res[i]==0  || res[i]==-1)continue;<br />         if(res[i]&lt;ret)&gt;<br />         {<br />             ret=res[i];<br />             type=i+1;<br />         }<br />     }<br />     if(ret==1000000)cout&lt;&lt;-1&lt;&lt;endl;&gt;<br />     else cout&lt;&lt;type&gt;&lt;&lt;endl&lt;&lt;ret&gt;&lt;&lt;endl;<br />     return 0;<br /> }<br /> [/code]]]></description>
				<guid isPermaLink="true">http://mendo.mk/jforum/posts/preList/708/3836.page</guid>
				<link>http://mendo.mk/jforum/posts/preList/708/3836.page</link>
				<pubDate><![CDATA[Thu, 20 Jun 2019 16:53:05]]> GMT</pubDate>
				<author><![CDATA[ BATIR]]></author>
			</item>
			<item>
				<title>Startup</title>
				<description><![CDATA[ [code]<br /> #include &lt;iostream&gt;<br /> #include &lt;vector&gt;<br /> #include &lt;algorithm&gt;<br /> using namespace std;<br /> vector&lt;int&gt;arr;<br /> void leftRotatebyOne() <br /> { <br />     int temp = arr[0], i; <br />     for (i = 0; i &lt; arr.size() - 1; i++) <br />         arr[i] = arr[i + 1]; <br />   <br />     arr[i] = temp; <br />     <br />     return;<br /> } <br /> void count_positive_rotations()<br /> {<br /> 	int good_rotations=0;<br /> 	for(int j=0;j&lt;arr.size();j++)&gt;<br /> 	{<br /> 		int sum=arr[0];<br /> 		bool good_rotation=true;<br /> 		if(sum&lt;0)<br /> 			good_rotation=false;<br /> 		else<br /> 		{<br /> 			for(int i=1;i&lt;arr.size();i++)&gt;<br /> 			{<br /> 				if(sum+arr[i]&gt;=0)<br /> 				sum+=arr[i];<br /> 				else{<br /> 				good_rotation=false;<br /> 				break;<br /> 				}<br /> 			}<br /> 		}<br /> 		if(good_rotation)<br /> 		good_rotations++;<br /> 		<br /> 		leftRotatebyOne();<br /> 	}<br /> 	<br /> 		<br /> 	cout&lt;&lt;good_rotations&gt;&lt;&lt;endl;<br /> 	return;<br /> }<br /> int main()<br /> {<br /> 	int N;<br /> 	cin&gt;&gt;N;<br /> 	for(int i=0;i&lt;N;i++)&gt;<br /> 	{<br /> 		int a;<br /> 		cin&gt;&gt;a;<br /> 		arr.push_back(a);<br /> 	}<br /> 	count_positive_rotations();<br /> 	<br /> 	return 0;<br /> }[/code]<br /> ????? ?? ?????? ?? ?????? 8 ????????, ?? ?????????? ?? ???? ?? ?????, ???? ?? ?? ???????]]></description>
				<guid isPermaLink="true">http://mendo.mk/jforum/posts/preList/707/3834.page</guid>
				<link>http://mendo.mk/jforum/posts/preList/707/3834.page</link>
				<pubDate><![CDATA[Sun, 16 Jun 2019 21:19:43]]> GMT</pubDate>
				<author><![CDATA[ MODDI]]></author>
			</item>
			<item>
				<title>Некоја насока за решавање на задачата Дедо Мраз од училишен 2019?</title>
				<description><![CDATA[ http://mendo.mk/Task.do?id=850<br /> <br /> Немам никаква друга идеја за решавање на оваа задача освен со рекурзија(backtracking)<br /> каде пробувам секој број од едната низа да го сведам во број од другата низа, а потоа рекурзивно решавам за следната состојба<br /> <br /> Поконкретно, паѓа на овој тест пример<br /> <br /> 9<br /> 1 14 22 11 6 11 14 1 24<br /> 5<br /> 34 37 20 8 5<br /> <br /> каде:<br /> <br /> очекувано: 8<br /> добиено: INT_MAX(не наоѓа решение)<br /> <br /> Еве го кодот<br /> [code]<br /> #include &lt;iostream&gt;<br /> #include &lt;bits/stdc++.h&gt;<br /> <br /> using namespace std;<br /> <br /> // Sorts the vectors and removes elements that are contained in<br /> // both s and f<br /> // if we try to solve for s = {2, 3, 7} f = {2, 4, 6}<br /> // it is same as solving s = {3, 7} f = {4, 6}<br /> void prepare(vector&lt;int&gt; &s, vector&lt;int&gt; &f)<br /> {<br />     sort(s.begin(), s.end());<br />     sort(f.begin(), f.end());<br /> <br />     vector&lt;int&gt; toDelete;<br />     for(int i = 0; i  &lt; s.size(); i++)<br />     {<br />         for(int j = 0; j &lt; f.size(); j++)<br />         {<br />             if(f[j] == s[i])<br />             {<br />                 f.erase(f.begin() + j);<br />                 toDelete.push_back(s[i]);<br />                 break;<br />             }<br />         }<br />     }<br /> <br />     for(int i = 0; i &lt; toDelete.size(); i++)<br />     {<br />         s.erase(find(s.begin(), s.end(), toDelete[i]));<br />     }<br /> }<br /> <br /> int solve(vector&lt;int&gt; &s, vector&lt;int&gt; &f)<br /> {<br />     prepare(s, f);<br /> <br />     // special cases that can be treated as base cases<br />     // the first case: if we have to convert s = {18} to f = {2,3,6,7} we need to decompose 18<br />     // to get s = {2, 16} f = {2, 3, 6 ,7}, then decompose 16 to get s = {2, 3, 13} f = {2, 3, 6, 7}<br />     // similar situation for the second case<br />     if(s.size() == 1)<br />         return f.size() - 1;<br />     if(f.size() == 1)<br />         return s.size() - 1;<br /> <br />     int result = INT_MAX - 10;<br /> <br />     for(int i = 0; i &lt; s.size(); i++)<br />     {<br />         for(int j = 0; j &lt; f.size(); j++)<br />         {<br />             // try to decompose ith element of s if s[i] &gt; f[j]<br />             if(s[i] &gt; f[j])<br />             {<br />                 vector&lt;int&gt; ss = s;<br />                 vector&lt;int&gt; ff = f;<br /> <br />                 ss.erase(ss.begin() + i);<br /> <br />                 ss.push_back(f[j]);<br />                 ss.push_back(s[i] - f[j]);<br /> <br />                 result = min(result, solve(ss, ff) + 1);<br />             }<br />             // try to find another number x where s[i] + x equals to f[j]<br />             else if(s[i] &lt; f[j])<br />             {<br />                 auto x = find(s.begin() + i+1, s.end(), f[j] - s[i]);<br />                 if(x != s.end())<br />                 {<br />                     vector&lt;int&gt; ss = s;<br />                     vector&lt;int&gt; ff = f;<br /> <br />                     ss[i] = f[j];<br />                     auto doomed = find(ss.begin() + i+1, ss.end(), f[j] - s[i]);<br />                     ss.erase(doomed);<br /> <br />                     result = min(result, solve(ss, ff) + 1);<br />                 }<br />             }<br />         }<br />     }<br /> <br />     return result;<br /> }<br /> <br /> int main()<br /> {<br />     int N;<br />     cin &gt;&gt; N;<br />     vector&lt;int&gt; s;<br />     int sumS = 0;<br />     for(int i = 0; i &lt; N; i++)<br />     {<br />         int si;<br />         cin &gt;&gt; si;<br />         sumS += 0;<br />         s.push_back(si);<br />     }<br /> <br />     int M;<br />     cin &gt;&gt; M;<br />     vector&lt;int&gt; f;<br />     int sumF = 0;<br />     for(int i = 0; i &lt; M; i++)<br />     {<br />         int fi;<br />         cin &gt;&gt; fi;<br />         sumF += 0;<br />         f.push_back(fi);<br />     }<br /> <br />     if(sumS != sumF)<br />     {<br />         cout &lt;&lt; -1;<br />     }<br />     else<br />     {<br />         cout &lt;&lt; solve(s, f);<br />     }<br /> <br />     return 0;<br /> }<br /> <br /> [/code]<br /> <br /> Забелешка: На МЕНДО 9/20 се точни а останатите се погрешен резултат или надминат временски лимит]]></description>
				<guid isPermaLink="true">http://mendo.mk/jforum/posts/preList/705/3827.page</guid>
				<link>http://mendo.mk/jforum/posts/preList/705/3827.page</link>
				<pubDate><![CDATA[Fri, 7 Jun 2019 01:24:55]]> GMT</pubDate>
				<author><![CDATA[ Scratcher]]></author>
			</item>
			<item>
				<title>Задача Програмери</title>
				<description><![CDATA[ [code]<br /> #include &lt;iostream&gt;<br /> #include &lt;vector&gt;<br /> #include &lt;algorithm&gt;<br /> using namespace std;<br /> int main()<br /> {<br />     long long N, K;<br />     cin&gt;&gt;N&gt;&gt;K;<br />     vector&lt;long long&gt;num;<br />     for(long long i=0;i&lt;N;i++)&gt;<br />     {<br />         long long a;<br />         cin&gt;&gt;a;<br />         num.push_back(a);<br />     }<br />     long long rez=0;<br />     sort(num.begin(), num.end());<br />     for(long long i=0;i&lt;N;i++)&gt;<br />     {<br />         for(long long y=i+1;y&lt;N;y++)&gt;<br />         {<br />             if(num[i]+K==num[y])<br />                 rez++;<br />         }<br />     }<br />     cout&lt;&lt;rez&gt;&lt;&lt;endl;<br />     return 0;<br /> }<br /> [/code]<br /> Со кодов ми поминува на 27/37 тест примери на останатите ми паѓа на време, дали со неколку модификации на кодов може да се реши задачава или ќе треба да го земам фактот дека 1≤N≤100 000, а дека задачава работи О(N na kvadrat)]]></description>
				<guid isPermaLink="true">http://mendo.mk/jforum/posts/preList/704/3818.page</guid>
				<link>http://mendo.mk/jforum/posts/preList/704/3818.page</link>
				<pubDate><![CDATA[Mon, 20 May 2019 12:40:43]]> GMT</pubDate>
				<author><![CDATA[ MODDI]]></author>
			</item>
			<item>
				<title>RNK</title>
				<description><![CDATA[ Spored mene , ovaa zadaa se resava so dp, samo ako nekoj znae moze da mi dae hint kako kje ide dinamickoto...<br /> Fala odnapred :D<br /> ]]></description>
				<guid isPermaLink="true">http://mendo.mk/jforum/posts/preList/703/3817.page</guid>
				<link>http://mendo.mk/jforum/posts/preList/703/3817.page</link>
				<pubDate><![CDATA[Fri, 17 May 2019 11:40:29]]> GMT</pubDate>
				<author><![CDATA[ BATIR]]></author>
			</item>
			<item>
				<title>problem so zadaca DDV</title>
				<description><![CDATA[ mojot kod:<br /> #include &lt;iostream&gt;<br /> #include &lt;string&gt;<br /> using namespace std;<br /> <br /> int main()<br /> {<br />     float c;<br />     string p;<br />     cin &gt;&gt; p &gt;&gt; c;<br />     int br, pro=0;<br />     cin &gt;&gt; br;<br />     if(c&gt;=1 && c&lt;=1000 && br&gt;=1 && br&lt;=50)  {<br />     string niza[br];<br />     for(int j=1; j&lt;=br ;j++)  {<br />         cin &gt;&gt; niza[j];<br />     }<br />     for(int i=1; i&lt;=br ;i++)  {<br />         if(p==niza[i])  {<br />             pro=1;<br />         }<br />     }<br />     if(pro==1)  {<br />         c=c+c/20;<br />     } else {<br />         c=c+c*18/100;<br />     }<br />     cout &lt;&lt; c;<br />     }<br />     return 0;<br /> }<br /> mi prikazuva runtime error]]></description>
				<guid isPermaLink="true">http://mendo.mk/jforum/posts/preList/702/3815.page</guid>
				<link>http://mendo.mk/jforum/posts/preList/702/3815.page</link>
				<pubDate><![CDATA[Tue, 14 May 2019 21:23:47]]> GMT</pubDate>
				<author><![CDATA[ David1223]]></author>
			</item>
	</channel>
</rss>