摘要:
#include <stdio.h>template <class T, class M>class Base { public: T x; T y; M a; M b; public: T max() { return (x>y) ? (x):(y); } M min() { return (a< 阅读全文
posted @ 2017-04-25 12:31
roadmap
阅读(98)
评论(0)
推荐(0)
摘要:
#include <stdio.h>template <class T>void swap(T a, T b){ int x = *a; *a = *b; *b = x;}template <class M>void sort(M arr, int len){ int i = 0; int j = 阅读全文
posted @ 2017-04-25 12:30
roadmap
阅读(173)
评论(0)
推荐(0)

浙公网安备 33010602011771号