Submission #741483

# Submission time Handle Problem Language Result Execution time Memory
741483 2023-05-14T08:20:37 Z rahidilbayramli 다각형 (GA5_polygon) C++17
Compilation error
0 ms 0 KB
a = int(input())
b = int(input())
a = (a + 1) / 2
b = b / 2
if a == 1:    
    a = a + 1
if a > b:
    print(0)
else:
    print(round((b - a + 1) * (a + b)))

Compilation message

polygon.cpp:1:1: error: 'a' does not name a type
    1 | a = int(input())
      | ^