DÃY SỐ

View as PDF

Submit solution

Points: 100.00 (partial)
Time limit: 1.0s
Memory limit: 512M
Input: stdin
Output: stdout

Problem type
Allowed languages
Python, Scratch


Comments

Please read the guidelines before commenting.



  • 2
    DANH_LAM_VU   commented on July 1, 2022, 10:20 a.m. edit 2

    Ừ ĐÚNG RỒI BẠN 1208 NÓI ĐÚNG LẮM


  • -17
    nguyenloc2204   commented on June 29, 2022, 8:32 a.m.

    This comment is hidden due to too much negative feedback. Show it anyway.


  • -8
    ththn2022   commented on June 25, 2022, 5:22 p.m.

    This comment is hidden due to too much negative feedback. Show it anyway.


    • 0
      quangminhvt   commented on July 2, 2022, 3:24 p.m.

      Làm thế nào thế


      • -1
        No_name_01   commented on July 23, 2022, 8:20 a.m.

        n = int(input()) if (n == 1): print(1) elif (n == 2): print(3) else: print((n * 2 + (n - 2)//2) - (n % 2 == 0))