原创 Android resource linking failed報錯

新電腦上運行的時候報錯 Android resource linking failed 發現問題出在這裏,有個依賴有新版本,改成新版本之後就可以順利運行了

原创 【學習記錄】c 指針相關

學習過程中記錄一下重要內容,摘出內容來自[原帖] 指針與字符串 字符指針常量 eg: "string"表示一個字符指針常量,該指針指向字符串首字符 ‘s’ 。 因爲是常量,因此該指針不可以修改或自增自減,也不可對字符串內容

原创 數據庫實踐課程實驗(mysql)

創建函數的基本操作 創建函數 輸入函數內容,這裏是一個查詢操作 創建觸發器的基本操作 在需要創建觸發器的表中新建觸發器 添加觸發器 這裏添加了一個在更新basic_info 表時同步更新score表內容的一個觸發器 CREA

原创 POJ-3190 Stall Reservations(貪心)

Oh those picky N (1 <= N <= 50,000) cows! They are so picky that each one will only be milked over some precise time i

原创 Codeforces Round 833A-The Meaningless Game

Slastyona and her loyal dog Pushok are playing a meaningless game that is indeed very interesting. The game consist

原创 ZOJ-3944 People Counting

In a BG (dinner gathering) for ZJU ICPC team, the coaches wanted to count the number of people present at the BG. They

原创 HDU-5744 Keep On Moving

Professor Zhang has kinds of characters and the quantity of the ii-th character is aiai. Professor Zhang wants to use a

原创 Codeforces Round 834B-The Festive Evening

It’s the end of July – the time when a festive evening is held at Jelly Castle! Guests from all over the kingdom gathe

原创 ZOJ-3785 What day is that day?

It’s Saturday today, what day is it after 1^1 + 2^2 + 3^3 + … + N^N days? Input There are multiple test cases. The f

原创 UVA-12657 Boxes in a Line(數據結構)

You have n boxes in a line on the table numbered 1…n from left to right. Your task is to simulate 4 kinds of comman

原创 ZOJ-3972 Beauty of Array

Edward has an array A with N integers. He defines the beauty of an array as the summation of all distinct integers in

原创 POJ-3176 Cow Bowling

The cows don’t use actual bowling balls when they go bowling. They each take a number (in the range 0..99), though, and

原创 2017 女生賽總結

第一次參加女生賽的時候還是個20天速成萌新,拼拼湊湊組了一支隊去杭電參賽。只做了2道題,慘列倒數第五名…… 一年過去,加入了ACM俱樂部,被俱樂部裏的大佬們虐了一年以後重新參加這個比賽。 拿了銅牌,雖然說和同校的隊伍一起拿了銅牌第一第

原创 VUA-10375 Choose and divide

The binomial coefficient C(m, n) is defined as C(m, n) = m!/[(m − n)! n!] Given four natural numbers p, q, r, an

原创 ZOJ-3939 The lucky week

Edward, the headmaster of the Marjar University, is very busy every day and always forgets the date. There was one