This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| uva 11234 | |
| author chm | |
| */ | |
| #include <cctype> | |
| #include <cstdio> | |
| #include <cstring> | |
| #include <cstdlib> | |
| #include <cassert> | |
| #include <map> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| uva 540 | |
| autor chm | |
| */ | |
| #include <cctype> | |
| #include <cstdio> | |
| #include <cstring> | |
| #include <cstdlib> | |
| #include <cassert> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| uva 572 | |
| author chm | |
| */ | |
| #include <cctype> | |
| #include <cstdio> | |
| #include <cstring> | |
| #include <cstdlib> | |
| #include <cassert> | |
| #include <map> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| zoj 1221 | |
| author | |
| haven't wrote dijkstra since two years ago | |
| */ | |
| #include <cctype> | |
| #include <cstdio> | |
| #include <cstring> | |
| #include <cstdlib> | |
| #include <cassert> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| uva 10048 | |
| author chm | |
| algo union-find set && kruskal | |
| */ | |
| #include <cctype> | |
| #include <cstdio> | |
| #include <cstring> | |
| #include <cstdlib> | |
| #include <cassert> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| poj 1308 | |
| author chm | |
| */ | |
| #include <cctype> | |
| #include <cstdio> | |
| #include <cstring> | |
| #include <cstdlib> | |
| #include <cassert> | |
| #include <map> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| pat 1046 | |
| author chm | |
| */ | |
| #include <cctype> | |
| #include <cstdio> | |
| #include <cstring> | |
| #include <cstdlib> | |
| #include <cassert> | |
| #include <map> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| pat 1036 | |
| author chm | |
| */ | |
| #include <cctype> | |
| #include <cstdio> | |
| #include <cstring> | |
| #include <cstdlib> | |
| #include <cassert> | |
| #include <map> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| lyh's code | |
| modified by chm | |
| */ | |
| #include <iostream> | |
| #include <string> | |
| #include <algorithm> | |
| using namespace std; | |
| struct student |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| pat 1040 | |
| author chm | |
| */ | |
| #include <cctype> | |
| #include <cstdio> | |
| #include <cstring> | |
| #include <cstdlib> | |
| #include <cassert> | |
| #include <map> |