Submission #3508600


Source Code Expand

# -*- coding: utf-8 -*-


def main():
    n, a, b = map(int, input().split())
    count = 0

    for i in range(n):
        ti = int(input())

        if a <= ti < b:
            pass
        else:
            count += 1

    print(count)


if __name__ == '__main__':
    main()

Submission Info

Submission Time
Task A - A Barricade
User hiro_hiro
Language C++14 (GCC 5.4.1)
Score 0
Code Size 299 Byte
Status CE

Compile Error

./Main.cpp:1:3: error: invalid preprocessing directive #-
 # -*- coding: utf-8 -*-
   ^
./Main.cpp:19:16: warning: character constant too long for its type
 if __name__ == '__main__':
                ^
./Main.cpp:4:1: error: ‘def’ does not name a type
 def main():
 ^