ac代码: #include <iostream>#include <string.h>using namespace std; int main(){ int n; cin >> n; int m, a[1001], propertyTag; memset(a, 0, sizeof(a)); fo ...
                            
                            
                                分类:
其他好文   时间:
2017-08-09 13:04:25   
                                阅读次数:
142
                             
                         
                    
                        
                            
                            
                                ?? 此题不难就是输出格式麻烦 #include<stdio.h> int main(){ int T; scanf("%d",&T); while(T--) { int n,m,num=0; while(scanf("%d %d",&n,&m)&&n!=0) { int a,b,sum=0; fo ...
                            
                            
                                分类:
移动开发   时间:
2017-08-05 22:55:29   
                                阅读次数:
217
                             
                         
                    
                        
                            
                            
                                ?? 此题不难就是输出格式麻烦 #include<stdio.h> int main(){ int T; scanf("%d",&T); while(T--) { int n,m,num=0; while(scanf("%d %d",&n,&m)&&n!=0) { int a,b,sum=0; fo ...
                            
                            
                                分类:
移动开发   时间:
2017-08-05 22:50:19   
                                阅读次数:
222
                             
                         
                    
                        
                            
                            
                                ?? 此题不难就是输出格式麻烦 #include<stdio.h> int main(){ int T; scanf("%d",&T); while(T--) { int n,m,num=0; while(scanf("%d %d",&n,&m)&&n!=0) { int a,b,sum=0; fo ...
                            
                            
                                分类:
移动开发   时间:
2017-08-05 22:44:07   
                                阅读次数:
176
                             
                         
                    
                        
                            
                            
                                    import sys products = ['PC','Coffee','TV','Car'] shoplist = [] prices = [5000,50,800,20000] salary = input('please input your salary:') while True: fo... ...
                            
                            
                                分类:
编程语言   时间:
2017-08-03 20:10:01   
                                阅读次数:
166
                             
                         
                    
                        
                            
                            
                                一、负权问题 如果一个图仅仅是存在负权,但不构成负权回路,又该如何? Dijkstra 算法 观察上图,若 A 作为源点,在第一轮循环后,B 被标记数组标记,但我们发现在第二轮循环中,B 还可以通过 C 点继续进行更新。由此,可以得出结论:Dijkstra 算法不适用于负权图。 Bellman_Fo ...
                            
                            
                                分类:
其他好文   时间:
2017-08-03 09:57:29   
                                阅读次数:
109
                             
                         
                    
                        
                            
                            
                                Simple Layout Let's take a look at the simple page layout that we saw earlier in the course. The simple page master that creates this layout is shown  ...
                            
                            
                                分类:
其他好文   时间:
2017-08-01 16:35:39   
                                阅读次数:
224
                             
                         
                    
                        
                            
                            
                                Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo... ...
                            
                            
                                分类:
其他好文   时间:
2017-07-30 12:47:36   
                                阅读次数:
87
                             
                         
                    
                        
                            
                            
                                id和name的联系: (1)都可以用来标识一个元素 (2)在Javascript中,通过getElementById和getElementByName都定位DOM节点。 区别: (1)id具有全局唯一性,在整个文档中不能有重复的id,主要在客户端脚本里使用。name属性可以标识多个元素,同一个Fo ...
                            
                            
                                分类:
其他好文   时间:
2017-07-29 16:42:46   
                                阅读次数:
160
                             
                         
                    
                        
                            
                            
                                刚開始学Winform的同学基本上都会遇到窗口传值的问题,怎样解决问题,事实上就是须要解决你对窗口的一个理解。 一定要记住,窗口(Form),它是一个类(Class)。! namespace MyForm { public partial class Form1 : Form { public Fo ...
                            
                            
                                分类:
其他好文   时间:
2017-07-29 12:58:00   
                                阅读次数:
206