原创 zoj 1973 水題。。。

#include <cstdio> #include <iostream> #include <cstring> #define MAXN 1005 using namespace std; int main(void) { int n

原创 zoj 1089

dfs #include <stdio.h> #include <string.h> #include <iostream> using namespace std; int num[14]; int n; int count,a[7];

原创 1090

  1482 過不了...不知道爲啥...切道水題..給不在直線上的三個點的座標..求外接圓的周長... 其實就是考公式呢.. #include <stdio.h> #include <string.h> #include <math.h

原创 zoj 2727 list the books

   水題。。不會函數重載。。寫了三個cmp。。 #include <iostream> #include <cstring> #include <cstdio> #include <algorithm> using namespace

原创 zoj 3198 python代碼超時,求指教。。

用python寫了一個。。超時,,自己還寫了個二分,,還是超時。。估計是輸入太慢了還是怎麼地?cin 600ms scanf 230ms 求指教。。 import sys def readANum(): line = sys.st

原创 zoj 2520

  額。。這個,有點糾結。。剛開始看錯題了。。。糾結了半天。。鬱悶阿。a了之後打表交了一道。。多次實驗範圍在前21;     #include <cstdio> #include <iostream> #include <cstring>

原创 zoj 2443 水題。。。

某啥說的。。 #include <cstdio> #include <cstring> #include <algorithm> #include <cstdlib> #include <iostream> using namespace

原创 zoj 2829 python

import sys K=[] i=3 def readNum(): l=sys.stdin.readline() l.split() return int(l[0]) while True: if i%3