Submission #741483

#TimeUsernameProblemLanguageResultExecution timeMemory
741483rahidilbayramli다각형 (GA5_polygon)C++17
Compilation error
0 ms0 KiB
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 (stderr)

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