# SkyWT

Fighting 2019！

## D - Open Communication

### Description

Linux 下有些时候我们运行一个进程需要一直挂着（这就是 VPS 的意义啊……），这时候需要把前台进程放到后台去。一般可以用 screen，但是如果这种后台进程挂多了，每个都开一个 session 会很不方便。前几天配置 aria2 的时候看到一个神奇的操作：可以配置成一个 service，直接 service aria2c start/stop/restart 就可以了！

2019.10.09 Upd：这篇文章弃坑啦，以后直接放在 Lab 页面里了。

## Description

Ivan wants to make a necklace as a present to his beloved girl. A necklace is a cyclic sequence of beads of different colors. Ivan says that necklace is beautiful relative to the cut point between two adjacent beads, if the chain of beads remaining after this cut is a palindrome (reads the same forward and backward).

## Description

In mathematical terms, the sequence F_n of Fibonacci numbers is defined by the recurrence relation

F_1 = 1; F_2 = 1; F_n = F_{n - 1} + F_{n - 2} (n > 2)

DZY loves Fibonacci numbers very much. Today DZY gives you an array consisting of n integers: a_1, a_2, \dots, a_n. Moreover, there are m queries, each query has one of the two types:

• 默认
• 护眼
• 夜晚
• Serif
• Sans