USCAO section 2,2 Preface Numbering(算是DP吧)

USACO section 3.4 Closed Fences(计算几何+叉积+二分) Closed Fences A closed fence in the plane is a set of non-crossing, connected line segments with N corners (3 i, yi}, i in (1..N). Every pair of adjacent vertices defines a side of the fence. 阅读详情
Preface Numbering

A certain book's prefaces are numbered in upper case Roman numerals. Traditional Roman numeral values use a single letter to represent a certain subset of decimal numbers. Here is the standard set:

        I   1     L   50    M  1000
        V   5     C  100
        X  10     D  500

As many as three of the same marks that represent 10n may be placed consecutively to form other numbers:

  • III is 3
  • CCC is 300

Marks that have the value 5x10n are never used consecutively.

Generally (with the exception of the next rule), marks are connected together and written in descending order to form even more numbers:

    • CCLXVIII = 100+100+50+10+5+1+1+1 = 268

        Sometimes, a mark that represents 10^n is placed before a mark of one of the two next higher values (I before V or X; X before L or C; etc.). In this case, the value of the smaller mark is SUBTRACTED from the mark it precedes:

        • IV = 4
        • IX = 9
        • XL = 40
        This compound mark forms a unit and may not be combined to make another compound mark (e.g., IXL is wrong for 39; XXXIX is correct).

        Compound marks like XD, IC, and XM are not legal, since the smaller mark is too much smaller than the larger one. For XD (wrong for 490), one would use CDXC; for IC (wrong for 99), one would use XCIX; for XM (wrong for 990), one would use CMXC. 90 is expressed XC and not LXL, since L followed by X connotes that successive marks are X or smaller (probably, anyway).

        Given N (1 <= N < 3,500), the number of pages in the preface of a book, calculate and print the number of I's, V's, etc. (in order from lowest to highest) required to typeset all the page numbers (in Roman numerals) from 1 through N. Do not print letters that do not appear in the page numbers specified.

        If N = 5, then the page numbers are: I, II, III, IV, V. The total number of I's is 7 and the total number of V's is 2.

        PROGRAM NAME: preface

        INPUT FORMAT

        A single line containing the integer N.

        SAMPLE INPUT (file preface.in)

        5
        

        OUTPUT FORMAT

        The output lines specify, in ascending order of Roman numeral letters, the letter, a single space, and the number of times that letter appears on preface page numbers. Stop printing letter totals after printing the highest value letter used to form preface numbers in the specified set.

        SAMPLE OUTPUT (file preface.out)

        I 7
        V 2
        

        思路:因为这些数有规律,以10为单位会循环,如9,19,29,都会出现相同的9,因此只要加上就行。

        I II III IV V VI VII VIII IX X

        1 2 3 4   5 6  7    8   9   10

        可以发现以I的10个循环位内是{1,2,3,1,0,1,2,3,1,0}

        而5的权位V的10 个循环为内是{0 0 0 1 1 1 1 1 0 0}

        而10有可以看成特殊的1 ,即权值为10的1;

        因此只要处理9就行了,当有9出现时需要在其大2个权X上加1

        题目要求N以内的和,使用DP加上即可。

        具体看代码吧!

         

        /*
        ID:nealgav1
        PROG:preface
        LANG:C++
        */
        #include<fstream>
        #include<cstring>
        using namespace std;
        const int mm=3600;
        const int one[]={1,2,3,1,0,1,2,3,1,0};
        const int five[]={0,0,0,1,1,1,1,1,0,0};
        const char flee[]={'I','V','X','L','C','D','M'};
        int f[mm][10];
        void dp(int m)
        { memset(f,0,sizeof(f));
          for(int i=1;i<=m;i++)
          { int num=i;
            for(int j=0;j<7;j++)
            { if(num<=0)   //当num=0时需把原先后面的值加上
               {f[i][j]+=f[i-1][j];
                 continue;
               }
              if(num%10)
               {
                 if(j&1)
                 f[i][j]+=f[i-1][j]+five[num%10-1];
                 else {f[i][j]+=f[i-1][j]+one[num%10-1];
                        if(num%10==9)//当num=9时有一个高位出现需加上1
                         f[i][j+2]++;
                      }
        
               }
               else
                 {
                   f[i][j]+=f[i-1][j]+one[num%10-1];
                 }
               if(j&1)
               num/=10;
            }
          }
        }
        int main()
        {
          int m;
          ifstream cin("preface.in");
          ofstream cout("preface.out");
          cin>>m;
          dp(m);
          for(int i=0;i<7;i++)
          {
            if(f[m][i])
            cout<<flee[i]<<" "<<f[m][i]<<"\n";
          }
        }
        


         

        Preface Numbering
        Russ Cox

        Since the maximum problem size is fairly small, it makes sense to just calculate the corresponding roman number for each page number, and count letters.

        The tricky part is generating the roman numbers. The key insight is that roman numbers are not much different than our own decimal digits. The two differences are that the set of digits changes depending on which decimal place we're worrying about, and that sometimes a "digit" is multiple letters or no letters (in the case of zero). So for example, in the ones place 7 is written "VII" and in the tens place "LXX", and so on, but it's always the same format: the letter for 5 and then two occurrences of the letter for 1.

        We use a lookup table called "encode" to encode each digit, translating from the letters for the ones place to the letters for the place that we care about. The "romandigit" function takes care of each digit, and the "roman" function strings them all together.

        /*
        PROG: preface
        ID: rsc001
        */
        
        #include <stdio.h>
        #include <stdlib.h>
        #include <string.h>
        #include <assert.h>
        
        static char *encode[] = {
        	"", "I", "II", "III", "IV",
        	"V", "VI", "VII", "VIII", "IX",
        };
        
        char*
        romandigit(int d, char *ivx)
        {
        	char *s, *p;
        	static char str[10];
        
        	for(s=encode[d%10], p=str; *s; s++, p++) {
        		switch(*s){
        		case 'I':
        			*p = ivx[0];
        			break;
        		case 'V':
        			*p = ivx[1];
        			break;
        		case 'X':
        			*p = ivx[2];
        			break;
        		}
        	}
        	*p = '\0';
        	return str;
        }
        
        char*
        roman(int n)
        {
        	static char buf[20];
        
        	strcpy(buf, "");
        	strcat(buf, romandigit(n/1000, "M"));
        	strcat(buf, romandigit(n/100,  "CDM"));
        	strcat(buf, romandigit(n/10,   "XLC"));
        	strcat(buf, romandigit(n,      "IVX"));
        	return buf;
        }
        
        void
        main(void)
        {
        	FILE *fin, *fout;
        	int i, n;
        	char *s;
        	int count[256];
        
        	fin = fopen("preface.in", "r");
        	fout = fopen("preface.out", "w");
        	assert(fin != NULL && fout != NULL);
        
        	fscanf(fin, "%d", &n);
        
        	for(s="IVXLCDM"; *s; s++)
        		count[*s] = 0;
        
        	for(i=1; i<=n; i++)
        		for(s=roman(i); *s; s++)
        			count[*s]++;
        
        	for(s="IVXLCDM"; *s; s++)
        		if(count[*s])
        			fprintf(fout, "%c %d\n", *s, count[*s]);
        
        	exit(0);
        }
        

        Alex Schendner's Algorithm

        Alex writes:
        While you certainly can find out what the Roman numerals are, the problem does not ask for that information and the program can be made simpler if you only keep track of how many for each digit there are. [Kolstad simplified the program slightly.]

        #include <fstream.h>
        
        int     Ig = 0;
        int     Vg = 0;
        int     Xg = 0;
        int     Lg = 0;
        int     Cg = 0;
        int     Dg = 0;
        int     Mg = 0;
        
        inline void 
        roman (int x)
        {
            int     I = 0;
            int     V = 0;
            int     X = 0;
            int     L = 0;
            int     C = 0;
            int     D = 0;
            int     M = 0;
            for ( ; x >= 1000; ++M, x -= 1000);
            for ( ; x >= 500; ++D, x -= 500);
            for ( ; x >= 100; ++C, x -= 100);
            for ( ; x >= 50; ++L, x -= 50);
            for ( ; x >= 10; ++X, x -= 10);
            for ( ; x >= 5; ++V, x -= 5);
            for ( ; x >= 1; ++I, x -= 1);
        
            while (D > 0 && (C / 4) > 0) {
        	--D; C -= 4; ++M; ++C;
            }
            while (C >= 4) {
        	C -= 4; ++D; ++C;
            }
            while (L > 0 && (X / 4) > 0) {
        	--L; X -= 4; ++C; ++X;
            }
            while (X >= 4) {
        	X -= 4; ++L; ++X;
            }
            while (V > 0 && (I / 4) > 0) {
        	--V; I -= 4; ++X; ++I;
            }
            while (I >= 4) {
        	I -= 4; ++V; ++I;
            }
            Ig += I;
            Vg += V;
            Xg += X;
            Lg += L;
            Cg += C;
            Dg += D;
            Mg += M;
            return;
        }
        
        int 
        main ()
        {
        
            int     n;
            ifstream filein ("preface.in");
            filein >> n;
            filein.close ();
        
            for (int loop = 1; loop <= n; ++loop) {
        	roman (loop);
            }
        
            ofstream fileout ("preface.out");
            if (Ig != 0) {
        	fileout << 'I' << ' ' << Ig << endl;
            }
            if (Vg != 0) {
        	fileout << 'V' << ' ' << Vg << endl;
            }
            if (Xg != 0) {
        	fileout << 'X' << ' ' << Xg << endl;
            }
            if (Lg != 0) {
        	fileout << 'L' << ' ' << Lg << endl;
            }
            if (Cg != 0) {
        	fileout << 'C' << ' ' << Cg << endl;
            }
            if (Dg != 0) {
        	fileout << 'D' << ' ' << Dg << endl;
            }
            if (Mg != 0) {
        	fileout << 'M' << ' ' << Mg << endl;
            }
            fileout.close ();
        
            return (0);
        }
        

        lifuxin's Algorithm

        Similar as Alex's program, this one is simpler in some ways. We can treat those things like "IX" or "IV" as another positive number. We will just use the number to try every number in the ns array. I also used match1 and match2 to save the corresponding letter of each number in ns.

        #include <stdio.h>
        int     ns[] =
           {1000, 900, 500, 400, 100, 90, 50,  40, 10,  9,  5,   4, 1};
           //"M" "CM"  "D"  "CD" "C" "XC" "L" "XL" "X" "IX" "V" "IV" "I"
        char    rs[] = {"IVXLCDM"};
        int     match1[] = {6, 4, 5, 4, 4, 2, 3, 2, 2, 0, 1, 0, 0};
        int     match2[] = {-1, 6, -1, 5, -1, 4, -1, 3, -1, 2, -1, 1, -1};
        int     n;
        int     counts[7];
        
        void 
        count (int num)
        {
            int     sct[] = {3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3};
            int     i, j = 0;
            for (i = 0; i < 13; i++) {
        	while (sct[i] > 0) {
        	    if ((num - ns[i]) >= 0) {
        		num -= ns[i];
        		counts[match1[i]]++;
        		if (match2[i] >= 0)
        		    counts[match2[i]]++;
        		sct[i]--;
        	    }
        	    else
        		break;
        	}
            }
        }
        
        void 
        main ()
        {
            FILE   *fp = fopen ("preface.in", "r");
            FILE   *wfp = fopen ("preface.out", "w");
            int     i;
            fscanf (fp, "%d", &n);
            for (i = 0; i < 7; i++)
        	counts[i] = 0;
            for (i = 1; i <= n; i++)
        	count (i);
            for (i = 0; i < 7; i++) {
        	if (counts[i])
        	    fprintf (wfp, "%c %d\n", rs[i], counts[i]);
            }
            fclose (fp);
            fclose (wfp);
        }
        

        Cary Yang sends in this concise solution that works more the way people think about roman numerals, without the 'IV trick':

        #include <fstream>
        using namespace std;
        int count[7];
        int mult[6] = {5, 2, 5, 2, 5, 2}; // The factors between consecutive roman
        				  // numeral letter values.
        char roman[] = "IVXLCDM";
        int vals[7] = {1, 5, 10, 50, 100, 500, 1000};
        
        int main() {
            ofstream fout ("preface.out");
            ifstream fin ("preface.in");
            int n;
            fin >> n;
        
            for (int i = 1; i <= n; i++) {
        	for (int j = 0, temp = i; temp != 0; j++) {
                     // If there are more than three of the current letter.
        	    if (temp % mult[j] > 3) {
        		count[j]++;
                        // Checks if it can have a two letter difference
        		// (ie. IX instead of IV).
        	        if (temp / mult[j] > 0 && i % vals[j + 2] > vals[j + 1]) {
        	            count[j + 2]++;
             	            temp -= mult[j];
                        } else
        		    count[j + 1]++;
        	    } else
        		count[j] += temp % mult[j];
        	    temp /= mult[j];
        	}
            }
            for (int i = 0; i < 7; i++)
             if (count[i])
                 fout << roman[i] << " " << count[i] << endl;
            return 0;
        }
        

         

         

         

        USER: Neal Gavin Gavin [nealgav1]
        TASK: preface
        LANG: C++
        
        Compiling...
        Compile: OK
        
        Executing...
           Test 1: TEST OK [0.011 secs, 3480 KB]
           Test 2: TEST OK [0.011 secs, 3480 KB]
           Test 3: TEST OK [0.000 secs, 3480 KB]
           Test 4: TEST OK [0.000 secs, 3480 KB]
           Test 5: TEST OK [0.000 secs, 3480 KB]
           Test 6: TEST OK [0.011 secs, 3480 KB]
           Test 7: TEST OK [0.000 secs, 3480 KB]
           Test 8: TEST OK [0.000 secs, 3480 KB]
        
        All tests OK.
        

        Your program ('preface') produced all correct answers! This is your submission #3 for this problem. Congratulations!

        Here are the test data inputs:

        ------- test 1 ----
        1
        ------- test 2 ----
        20
        ------- test 3 ----
        100
        ------- test 4 ----
        500
        ------- test 5 ----
        1000
        ------- test 6 ----
        2974
        ------- test 7 ----
        3213
        ------- test 8 ----
        3499
        
        Keep up the good work!

        
        

        Thanks for your submission!

      库存管理基于Excel的多商品组合订单需求拆解模型:SKU级供需预测与四情景压力测试系统设计 Excel 多商品组合订单的需求拆解|Excel模型与模拟数据 内容概要:本文档围绕Excel中多商品组合订单的基础SKU需求拆解,构建从订单行、组合用量表到仓库周需求、期初可供、计划到货及欠交结转的完整计算链条。通过四种组合、六种SKU、两座仓库和八个业务周的模拟数据,演示如何将组合套数准确转换为SKU件数,防止重复扣减与错误状态纳入,并按周递推供需覆盖与欠交变化。文档提供结构化输入校验、公式体系、守恒检查与四情景复算机制,确保结果可追溯、可核对。全部数据为基于固定随机种子生成的原创模拟记录,配套可编辑Excel工作簿与独立Python程序实现双向验证。 适合人群:适用于负责订单汇总、组合商品管理、库存分析、仓配协同、需求计划及业务分析文档编制的相关人员。日常使用者需掌握Excel基本操作如单元格引用、筛选与求和;具备Python基础者可配合标准库运行程序进行批量验证或数据重生成。业务管理岗可重点阅读结果与风险章节,结合工作表索引追踪数值来源。 使用场景及目标:适用于活动套单、同单含组合与单品、多仓备货、到货周期偏移及需求波动等场景。目标是实现组合订单向基础SKU的精准拆解,按周粒度完成供需匹配与欠交递推,识别输入冲突与窗口外到货影响,支持需求增幅、到货延期等多情景模拟分析,所有结论均可从源订单、BOM、Excel公式或独立程序追溯验证。 其他说明:项目交付包含A4文档、可编辑Excel、完整Python代码、CSV输入表、计算快照、四情景结果、测试记录、README指引及作者验收记录。采用固定随机种子确保数据一致性,强调输入有效性校验与双守恒(供给与需求)原则。Excel工作簿采用三层结构(源输入—公式计算—结果展示),支持手动编辑与自动重算,但扩容需重新生成网格。独立Python程序可用于交叉验证,保障模型可靠性。 立即下载

      相关推荐

      东汉AD35年世界历史地图矢量文件SHP格式.zip

      本资源为《东汉AD35年世界历史地图矢量文件SHP格式》压缩包,文件大小约 29.99 MB,便于集中下载、整理和使用。具体内容请结合压缩包内的实际文件与说明查看。 在当前可读取的目录中,可见JSON 文件、属性表(.dbf)、投影说明文件(.prj)、Shapefile 主文件(.shp)、Shapefile 索引(.shx)。建议解压后保持原有目录结构,先浏览文件清单与说明,再选择需要的资料进行加载或整理。 应用方面,可根据实际资料用于学习练习、资料检索、研究整理或项目参考。使用时可先确定所需内容,建立清晰的文件分类,再按项目要求进行筛选、转换与汇总。 使用 Shapefile 数据时,请把实际配套的 .shp、.shx、.dbf 等文件保存在同一目录,并保持同名关联;加载后再检查坐标系与中文字段显示。如需叠加其它数据,请先统一坐标与字段口径。 数据来源、时间范围、坐标系、字段定义、精度和使用条件,请以实际文件及原始说明为准。本介绍不对文件名之外尚未核实的信息作额外承诺。

      USACO section 3.1 Contact(AC自动机)

      Contact IOI'98 The cows have developed a new interest in scanning the universe outside their farm with radiotelescopes. Recently, they noticed a very curious microwave pulsing emission sent right f

      nealgavin的专栏 9384

      基于FastAPI Vue3 TypeScript的企业级全栈底座:类型共享、权限完整,三端同源 一套代码交付Web/H5/小程序,AI代码生成 RBAC Docker开箱即用一套开源的快速开发平台

      基于FastAPI Vue3 TypeScript的企业级全栈底座:类型共享、权限完整,三端同源。一套完全开源的快速开发平台,提供免费使用。它结合了现代、高性能的技术栈,后端采用Fastapi + SQLAlchemy,前端采用基于 vue3 + typescript + vite + pinia + Element-Plus。

      USCAO section 1.3 Calf Flac

      Calf Flac It is said that if you give an infinite number of cows an infinite number of heavy-duty laptops (with very large keys), that they will ultimately produce all the world's great palindromes

      nealgavin的专栏 6656

      AI第三篇:ScaBench-用真实审计竞赛数据构建可复现的 AI 审计评测集

      AI第三篇:ScaBench-用真实审计竞赛数据构建可复现的 AI 审计评测集

      基于小波变换的信号降噪处理及仿真研究_信号处理方法推荐--1(转载自用,侵删)...

      综述作者:aresmiki链接:https://www.zhihu.com/question/23701194/answer/167005497来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。非平稳信号处理应该是现在信号处理技术最新的也是最热的研究方向了,信号处理方法从最早的时域统计到傅里叶变换的频域分析,是人们认识信号本质的一次巨大飞跃,给了分析人员换个角度看世界的...

      weixin_32144483的博客 1260

      USACO section 1.5 Checker Challenge(dfs深搜)

      Checker ChallengeExamine the 6x6 checkerboard below and note that the six checkers are arranged on the board so that one and only one is placed in each row and each column, and there is never more tha

      nealgavin的专栏 1924

      【学习笔记】无人机(UAV)在3GPP系统中的增强支持(四)-无人机系统(UAS)命令与控制(C2)通信用例

      UTM向5G网络提供无人机系统C2通信所需的信息,例如服务类别、无人机系统服务的流量类型、授权的无人机系统服务所需的QoS以及无人机系统服务的订阅。遵循模型B的网络辅助C2模型,为了确保UAS操作的C2通信的服务可用性和可靠性,特别是当无人机在操作员的视线之外(BLOS)飞行时,为无人机提供支持冗余的C2通信链路。如果需要创建额外的C2通信连接或更改现有数据连接的配置以进行C2通信,则5G网络会根据无人机系统的授权服务信息和C2通信中所需的QoS和优先级,修改或分配一个或多个C2通信流量的QoS流。

      u011376987的博客 2068

      USACO section 2.3 Longest Prefix(dp)

      Longest Prefix IOI'96 The structure of some biological objects is represented by the sequence of their constituents, where each part is denote by an uppercase letter. Biologists are interested in

      nealgavin的专栏 1487

      monocle3-单细胞轨迹分析在疾病研究中的应用

      本文深入探讨了monocle3在单细胞轨迹分析中的核心应用,特别是在疾病研究领域。通过实战案例,详细讲解了如何利用monocle3进行轨迹推断,构建细胞状态演变的“路线图”,并结合伪时间分析定位疾病进展阶段。文章还介绍了如何挖掘驱动疾病发展的关键基因,并分享了数据整合、根节点选择等进阶技巧与避坑指南,旨在帮助研究者利用这一强大工具揭示肿瘤异质性、免疫治疗耐药等复杂生物学过程的动态机制。

      a3b4c5的博客 647

      【ChatGPT】实用 Prompt 指令大全 —— 一文教你如何更好地挖掘 GPT 的价值

      ChatGPT 是由 OpenAI 开发的一种先进的大型语言生成模型,能够理解和生成准确、自然且连贯的文本。文本生成数据分析内容审核语义理解自然语言推理以及其他众多任务ChatGPT是一种基于GPT-3.5架构的大型语言模型,由OpenAI公司开发。该模型在自然语言处理领域有着广泛的应用,可以用于文本生成、文本分类、情感分析、问答系统等任务。本文将从模型的架构、训练方式、优缺点等方面对ChatGPT进行详细介绍。一、模型架构。

      AI天才研究院 2万+

      USACO section 2.4 Cow Tours(并查集+最短路)

      Cow Tours Farmer John has a number of pastures on his farm. Cow paths connect some pastures with certain other pastures, forming a field. But, at the present time, you can find at least two pasture

      nealgavin的专栏 1406

      新手必读!2025最全AI智能体入门手册,50个问题全讲透

      感知(Perception):能读取环境,比如读取网页数据、识别用户输入、接入 API;思考(Reasoning/Planning):理解任务目标,规划出行动步骤;行动(Action):调工具、查资料、发消息、写入数据库……直接执行任务。有了这三步,智能体才不是“一个会说话的大模型”,而是真正的“能落地执行的工作代理人”。多个 Agent 分工协作,每个智能体负责一个角色或任务节点,像一个“虚拟团队”。一个爬数据的 Agent,一个提炼要点的 Agent,一个撰写报告的 Agent,

      互联网架构师笔记 1989

      USACO section3.1 Shaping Regions(漂浮法)

      Shaping Regions N opaque rectangles (1 <= N <= 1000) of various colors are placed on a white sheet of paper whose size is A wide by B long. The rectangles are put with their sides parallel to the s

      nealgavin的专栏 1052

      TypeError: ‘<=‘not supported between instances of ‘float’and ‘str‘解决方案

      本文主要介绍了TypeError: '

      weixin_43178406的博客 28万+

      深度学习框架对比:AI开发如何选择

      你是否遇到过这样的困惑:想做一个图像分类模型,朋友推荐PyTorch;公司要部署智能客服,同事说用TensorFlow;想快速验证想法,学长又提到Keras……深度学习框架种类繁多,功能重叠却各有侧重。本文将覆盖主流框架(PyTorch/TensorFlow/Keras/JAX/MXNet等),从开发者真实需求出发,总结选择框架的核心维度。本文将按照“认识框架→对比特性→实战选择”的逻辑展开:先通过生活比喻理解各框架特点,再用代码对比核心功能,最后结合真实场景给出选择建议。动态计算图。

      AI 领航者的博客 1165

      USACO section 2.2 Runaround Numbers

      Runaround Numbers Runaround numbers are integers with unique digits, none of which is zero (e.g., 81362) that also have an interesting property, exemplified by this demonstration: If you start

      nealgavin的专栏 991

      STM32智能小车控制舵机转向

      文章目录前言一、舵机简单介绍及接线方式二、cubeMX配置三、代码解析总结 前言 本文将带大家学习如何驱动舵机转向 一、舵机简单介绍及接线方式 信号线(黄线)红线(电源线)棕色(地线) 舵机的控制一般需要一个20ms左右的时基脉冲,该脉冲的高电平部分一般为0.5ms-2.5ms范围内的角度控制脉冲部分,总间隔为2ms。以180度角度伺服为例,那么对应的控制关系是这样的: 0.5ms--------------0度; 1.0ms------------45度; 1.5ms------------90度; 2

      m0_49476241的博客 8628

      USACO section 3.1 Stamps(dp)

      Stamps Given a set of N stamp values (e.g., {1 cent, 3 cents}) and an upper limit K to the number of stamps that can fit on an envelope, calculate the largest unbroken list of postages from 1 cent

      nealgavin的专栏 980

      ssm框架搭建

      这个是一个在idea上成功跑起来的ssm框架项目,保存在这里方便以后使用直接下载

      lwip-2.0.3

      lwip是瑞典计算机科学院(SICS)的Adam Dunkels 开发的一个小型开源的TCP/IP协议栈。实现的重点是在保持TCP协议主要功能的基础上减少对RAM 的占用。

      USCAO section 4.1 Fence Loops(最短路,最小环,5级)

      Fence Loops The fences that surround Farmer Brown's collection of pastures have gotten out of control. They are made up of straight segments from 1 through 200 feet long that join together only a

      nealgavin的专栏 941

      C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

      基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

      USACO section 1.5 Superprime Rib(深搜)

      Superprime RibButchering Farmer John's cows always yields the best prime rib. You can tell prime ribs by looking at the digits lovingly stamped across them, one by one, by FJ and the USDA. Farmer John

      nealgavin的专栏 938

      USACO section 2.2 Party Lamps

      Party Lamps IOI 98 To brighten up the gala dinner of the IOI'98 we have a set of N (10 <= N <= 100) colored lamps numbered from 1 to N. The lamps are connected to four buttons: Button 1: Wh

      nealgavin的专栏 914

      USACO section 3.2 Spinning Wheels(模拟)

      Spinning Wheels 1998 ACM NE Regionals Each of five opaque spinning wheels has one or more wedges cut out of its edges. These wedges must be aligned quickly and correctly. Each wheel also has an ali

      nealgavin的专栏 875

      USCAO section Mother's Milk(搜索)

      Mother's Milk Farmer John has three milking buckets of capacity A, B, and C liters. Each of the numbers A, B, and C is an integer from 1 through 20, inclusive. Initially, buckets A and B are empty

      nealgavin的专栏 848

      USACO section 3.2 Feed Ratios(高斯定理)

      Feed Ratios 1998 ACM Finals, Dan Adkins Farmer John feeds his cows only the finest mixture of cow food, which has three components: Barley, Oats, and Wheat. While he knows the precise mixture of th

      nealgavin的专栏 803
      上一篇: USACO section 2.1 Hamming Codes(直接枚举暴搜)
      下一篇: USACO section 2.2 Subset Sums(DP,背包)
      剑不飞
      博客等级 码龄15年 86粉丝 505原创
      评论
      成就一亿技术人!
      拼手气红包6.0元
      还能输入1000个字符
       
       条评论被折叠 查看
      添加红包

      请填写红包祝福语或标题

      个

      红包个数最小为10个

      元

      红包金额最低5元

      当前余额3.43元 前往充值 >
      需支付:10.00元
      成就一亿技术人!
      领取后你会自动成为博主和红包主的粉丝 规则
      hope_wisdom
      发出的红包
      实付元
      使用余额支付
      点击重新获取
      扫码支付
      钱包余额 0

      抵扣说明:

      1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
      2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

      余额充值
      ⌂ 换网址