![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
线性表编程
Turing118
在校本科大学生
展开
-
POJ 2080 (线性表)
#include using namespace std; const char weak[7][10]={"Saturday","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday"}; int _year (int year){ //返回year年的天数 if (year % 100 == 0) return year原创 2014-05-12 20:19:40 · 499 阅读 · 0 评论 -
poj 2260
设矩阵map[][],其中row[]表示i行和col原创 2014-05-13 16:52:24 · 481 阅读 · 0 评论 -
POJ 1555
#include #include int main (){ double xp[10]; while (~scanf ("%lf",&xp[8])){ for (int i=7;i>=0;i--) scanf ("%lf",&xp[i]); bool tag=true; for (int i=8,k=0;i>=0;i--){ if (xp[i]){ // 存在系原创 2014-05-13 16:10:03 · 603 阅读 · 0 评论