<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ta.in.th/index.php?action=history&amp;feed=atom&amp;title=Graph_Representation_with_stl_list</id>
	<title>Graph Representation with stl list - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ta.in.th/index.php?action=history&amp;feed=atom&amp;title=Graph_Representation_with_stl_list"/>
	<link rel="alternate" type="text/html" href="https://wiki.ta.in.th/index.php?title=Graph_Representation_with_stl_list&amp;action=history"/>
	<updated>2026-05-02T17:18:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0-alpha</generator>
	<entry>
		<id>https://wiki.ta.in.th/index.php?title=Graph_Representation_with_stl_list&amp;diff=99&amp;oldid=prev</id>
		<title>Tata: Created page with &quot;&lt;pre&gt; #include &lt;stdio.h&gt; #include &lt;list&gt; using namespace std; int main(int argc, const char * argv[]) {     int v,e;     scanf(&quot;%d%d&quot;,&amp;v,&amp;e);     list&lt;int&gt; graph[1000];     in...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ta.in.th/index.php?title=Graph_Representation_with_stl_list&amp;diff=99&amp;oldid=prev"/>
		<updated>2019-03-07T17:16:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; #include &amp;lt;stdio.h&amp;gt; #include &amp;lt;list&amp;gt; using namespace std; int main(int argc, const char * argv[]) {     int v,e;     scanf(&amp;quot;%d%d&amp;quot;,&amp;amp;v,&amp;amp;e);     list&amp;lt;int&amp;gt; graph[1000];     in...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;list&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main(int argc, const char * argv[]) {&lt;br /&gt;
    int v,e;&lt;br /&gt;
    scanf(&amp;quot;%d%d&amp;quot;,&amp;amp;v,&amp;amp;e);&lt;br /&gt;
    list&amp;lt;int&amp;gt; graph[1000];&lt;br /&gt;
    int st,en;&lt;br /&gt;
    for(int i=0;i&amp;lt;e;i++){&lt;br /&gt;
        scanf(&amp;quot;%d%d&amp;quot;,&amp;amp;st,&amp;amp;en);&lt;br /&gt;
        graph[st].push_back(en);&lt;br /&gt;
        graph[en].push_back(st);&lt;br /&gt;
    }&lt;br /&gt;
    for(int i=0;i&amp;lt;v;i++){&lt;br /&gt;
        printf(&amp;quot;%d : &amp;quot;,i);&lt;br /&gt;
        for(list&amp;lt;int&amp;gt;::iterator it = graph[i].begin(); it != graph[i].end(); ++it){&lt;br /&gt;
            printf(&amp;quot;%d &amp;quot;,*it);&lt;br /&gt;
        }&lt;br /&gt;
        printf(&amp;quot;\n&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tata</name></author>
		
	</entry>
</feed>