kelie

导航

2014年1月14日 #

STL模板之_map,stack(计算矩阵相乘的次数)

摘要: #include #include #include using namespace std;struct Node { int row, col; };int main(){ int n; char name; map matrix; cout> n; cout> name; cin >> matrix[name].row >> matrix[name].col; } cout> exp) { int i,p; int count = 0; stack array; for(i = 0; i >p; if (p==0) break; else 阅读全文

posted @ 2014-01-14 17:48 kelie 阅读(253) 评论(0) 推荐(0) 编辑