Time Limit: 2 Seconds Memory Limit: 65536 KB
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 first line of input contains an integer T indicating the number of test cases. For each test case:
There is only one line containing one integer N (1 <= N <= 1000000000).
Output
For each test case, output one string indicating the day of week.
Sample Input
2
1
2
Sample Output
Sunday
Thursday
Hint
A week consists of Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday.
在画布中绘制的所有东西都是已经合成的,这意味着绘制的所有的东西都会与已经绘制的现有元素合并在一起。这些都是基本合成,只是将一些内容叠加到另一些内容之上。
globalAlpha属性会影响将要绘制的对象的透明度,它的值必须在0.0
(全透明)1.0
(不透明)之间,默认值是1.0
。通过给fillStyle
设置一个小于1的alpha值的rgba
值,也可以得到相同的效果。不同之处是,globalAlpha设置的是全局,它会在后续应用rgba
颜色值等alpha值时被参照,即充当了计算其它alpha值的基数。(例子中设置了globalAlpha
为0.5,然后又应用了一次fillStyle
(带有alpha值为0.5的rgba
),所以实际Alpha值为0.25)