Week 1 - [Hardcore] Sequence
Description
จงเขียนโปรแกรมรับ input เป็นตัวเลขจำนวณเต็ม และได้ผลลัพธ์ออกมาตาม Sample Case
Specification
Input Specification | Output Specification |
ตัวเลขจำนวนเต็ม | ผลลัพธ์ที่ได้จากโปรแกรม |
Sample Case
Sample Input | Sample Output |
1 | 1 |
2 | 5 |
3 | 19 |
4 | 49 |
5 | 101 |
6 | 181 |
7 | 295 |