智慧树自动刷课的js代码

前几天听到我妹说起来她们大一居然有四门网课,回想起来了我去年被网课支配的恐惧,让我妹遭罪我于心不忍,于是就最近用电脑的时候顺带给妹妹挂着网课,按照我的天性肯定不会老老实实的挂着。。。于是研究了下怎么跳过网课的弹窗。 继续阅读智慧树自动刷课的js代码

如果天空是黑暗的,那就摸黑生存;如果发出声音是危险的,那就保持沉默;如果自觉无力发光的,那就蜷伏于墙角。但不要习惯了黑暗就为黑暗辩护;不要为自己的苟且而得意;不要嘲讽那些比自己更勇敢热情的人们。我们可以卑微如尘土,不可扭曲如蛆虫。

——曼德拉

【UVA1203】Argus(优先队列)

A data stream is a real-time, continuous, ordered sequence of items. Some examples include sensor data, Internet traffic, financial tickers, on-line auctions, and transaction logs such as Web usage logs and telephone call records. Likewise, queries over streams run continuously over a period of time and incrementally return new results as new data arrives. For example, a temperature detection system of a factory warehouse may run queries like the following. Query-1: “Every five minutes, retrieve the maximum temperature over the past five minutes.” 
Query-2: “Return the average temperature measured on each floor over the past 10 minutes.” 继续阅读【UVA1203】Argus(优先队列)

Codeforces:Oh Those Palindromes

A non-empty string is called palindrome, if it reads the same from the left to the right and from the right to the left. For example, “abcba“, “a“, and “abba” are palindromes, while “abab” and “xy” are not.

A string is called a substring of another string, if it can be obtained from that string by dropping some (possibly zero) number of characters from the beginning and from the end of it. For example, “abc“, “ab“, and “c” are substrings of the string “abc“, while “ac” and “d” are not. 继续阅读Codeforces:Oh Those Palindromes