ZhenlongDai/ACPR huggingface dataset:
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def resolve():
    A, B, C = map(int, input().split())

    if A == B and B == C:
        print('No')
        return

    if A == B or B == C:
        print('Yes')
        return

    print('No')


resolve()


Failing test case input:
5 7 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
def resolve():
    A, B, C = map(int, input().split())

    if A == B and B == C:
        print('No')
        return

    if A == B or B == C or A == C:
        print('Yes')
        return

    print('No')
    

resolve()

Problem: p02771
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
A, B, C = map(int, input().split())

def poor():
    if A == B:
        if A != C:
            return "Yes"
    elif A == C:
        if A != B:
            return "Yes"
    return "No"

print(poor())

Failing test case input:
18 3 3

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C = map(int, input().split())

def poor():
    if A == B:
        if A != C:
            return "Yes"
    elif A == C:
        if A != B:
            return "Yes"
    elif B == C:
        if A != B:
            return "Yes"
    return "No"

print(poor())

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = input()
N = N.split()


def main():
    if (N[0] == N[1]) and (N[1] == N[2]):
        return True

    if (N[0] != N[1]) and (N[1] != N[2]):
        return True

    return False


print(main())

Failing test case input:
4 3 4

Expected output:
Yes


Actual output:
True


Fixed submission (verdict: Accepted):
N = input()
N = N.split()


def main():
    if (N[0] == N[1]) and (N[1] == N[2]) and N[2] == N[0]:
        return 'No'

    if (N[0] != N[1]) and (N[1] != N[2]) and (N[0] != N[2]):
        return 'No'

    return 'Yes'


print(main())

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(str, input().split())
if a==b and a!=c:
    print("Yes")
if a==c and a!=b:
    print("Yes")
if b==c	and b!=a:
    print("Yes")
else:
    print("No")

Failing test case input:
5 5 6

Expected output:
Yes


Actual output:
Yes
No


Fixed submission (verdict: Accepted):
a,b,c = map(str, input().split())
if a==b and a!=c:
    print("Yes")
elif a==c and a!=b:
    print("Yes")
elif b==c	and b!=a:
    print("Yes")
else:
    print("No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A=list(map(int, input().split()))

if len(set(A))==2:
    print('YES')
else:
    print('NO')

Failing test case input:
14 2 1

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
A=list(map(int, input().split()))

if len(set(A))==2:
    print('Yes')
else:
    print('No')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=list(map(int,input().split()))
b=set(a)
print('No' if len(a)-len(b)==1 else 'Yes')


Failing test case input:
14 2 2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a=list(map(int,input().split()))
b=set(a)
print('Yes' if len(a)-len(b)==1 else 'No')
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C = map(int,input().split())

if A == B and A != C:
    print("Yes")
elif A != B and A == C:
    print("Yes")
else:
    print("No")

Failing test case input:
14 2 2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A,B,C = map(int,input().split())

if A == B and A != C:
    print("Yes")
elif A != B and A == C:
    print("Yes")
elif B==C and A!=C:
    print("Yes")
else:
    print("No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = map(int, input().split())

if (A == B and B == C) or (A != B and B != C and A != C):
    print("NO")
else:
    print("YES")


Failing test case input:
7 1 10

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
A, B, C = map(int, input().split())

if (A == B == C) or (A != B and B != C and A != C):
    print("No")
else:
    print("Yes")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
if a==b==c:
	print('No')
elif a!=b and b!=c:
    print('No')
else:
	print('Yes')


Failing test case input:
5 7 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
if a==b==c:
	print('No')
elif a!=b and b!=c and c!=a:
    print('No')
else:
	print('Yes')

Problem: p02771
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
A=list(map(int,input().split()))
if (A[0]==A[1]==A[2]) or (A[0]!=A[1]!=A[2]):
  print("NO")
else:
  print("YES")

Failing test case input:
3 4 -3

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
A=list(map(int,input().split()))
if (A[0]==A[1] and A[0]==A[2]) or (A[0]!=A[1] and A[0]!=A[2] and A[1]!=A[2]):
  print("No")
else:
  print("Yes")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
num = [x for x in input()]
ans = 0
if num[0] == num[1]:
  ans = ans + 1
if num[0] == num[2]:
  ans = ans + 1
if num[1] == num[2]:
  ans = ans + 1

if ans == 1:
  print('Yes')
else:
  print('No')

Failing test case input:
18 3 3

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
num = [x for x in input().split()]
ans = 0
if num[0] == num[1]:
  ans = ans + 1
if num[0] == num[2]:
  ans = ans + 1
if num[1] == num[2]:
  ans = ans + 1

if ans == 1:
  print('Yes')
else:
  print('No')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C=map(int,input().split())
if A==B and B==C and C==A:
  print("No")
else:
  print("Yes")

Failing test case input:
0 4 14

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A,B,C=input().split()
sl = set([A,B,C])
if len(sl)==2:
  print("Yes")
else:
  print("No")
Problem: p02771
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a = [int(i) for i in input().split()]

a.sort()

if a[0] == a[1] and a[1] != a[2]:
    print('Yes')
else:
    print('No')

Failing test case input:
6 5 6

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a = [int(i) for i in input().split()]

a.sort()

if a[0] == a[1] and a[1] != a[2] or a[1] == a[2] and a[0] != a[1] :
    print('Yes')
else:
    print('No')

Problem: p02771
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A, B, C = map(int, input().split())
if A == B and B == C:
    print('Yes')
else:
    print('No')

Failing test case input:
4 4 10

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C = map(int, input().split())
if A == B and B == C:
    print('No')
elif A != B and B !=C and C != A:
    print('No')
else:
    print('Yes')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
myinput_H = input()
mylist = list(map(int, myinput_H.split(" ")))
A = mylist[0]
B = mylist[1]
C = mylist[2]
def check(a,b,c):
  if (a == b & b != c) or (a == c & b != c) or (b == c & b != a):
    print(Yes)
  else:
    print(No)

Failing test case input:
3 3 -1

Expected output:
Yes


Actual output:

Fixed submission (verdict: Accepted):
a = input()
mylist = list(map(int, a.split(" ")))
A = mylist[0]
B = mylist[1]
C = mylist[2]
 
if (A == B and B != C):
  print("Yes")
elif (A == C and B != C):
  print("Yes")
elif (B == C and A != B):
  print("Yes")
else:
  print("No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C = map(int, input().split())


if A==B & B==C & C==A:
    print('NO')

elif A!=B & B!=C & C!=A:
    print('NO')

else:
    print('YES')


Failing test case input:
18 2 3

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
A,B,C = map(int, input().split())


if A==B & B==C & C==A:
    print('No')

elif A!=B & B!=C & C!=A:
    print('No')

else:
    print('Yes')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C=map(int,input().split())
if A==B & B==C:
    print("no")
elif A!=B & B!=C & C!=A:
    print("no")
else:
    print("yes")


Failing test case input:
4 4 10

Expected output:
Yes


Actual output:
yes


Fixed submission (verdict: Accepted):
A,B,C=map(int,input().split())
if A==B & B==C:
    print("No")
elif A!=B & B!=C & C!=A:
    print("No")
else:
    print("Yes")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = list(map(int, input().split(' ')))
count = 0
if A == B:
    count += 1
if A == C:
    count += 1
if B == C:
    count += 1
if count == 2:
    print('Yes')
else:
    print('No')

Failing test case input:
3 3 -1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C = list(map(int, input().split(' ')))
count = 0
if A == B:
    count += 1
if A == C:
    count += 1
if B == C:
    count += 1
if count == 1:
    print('Yes')
else:
    print('No')
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a==b and b!=c or a!=b and b==c:
    print("Yes")
else:
    print("No")

Failing test case input:
6 5 6

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
s="Yes"
if a==b==c or a!=b and b!=c and c!=a:
    s="No"
print(s)

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

if a == b and a == c:
  print('No')
elif a != b and a != c:
  print('No')
else:
  print('Yes')

Failing test case input:
14 2 2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

if a == b and a == c:
  print('No')
elif a != b and a != c and b!= c:
  print('No')
else:
  print('Yes')

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = list(map(int,input().split()))
a = 0
for i in (1,2):
    if n[0] == n[i]:
        a += 1
if a == 1:
    ans = "Yes"
else:
    ans = "No"
print(ans)

Failing test case input:
1 -2 -2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
n = list(map(int,input().split()))
a = 0
for i in (1,2):
    if n[0] == n[i]:
        a += 1
if a == 1:
    ans = "Yes"
elif a == 2 or n[1] != n[2]:
    ans = "No"
else:
    ans = "Yes"
print(ans)

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
lst=input().split()
if  lst[0]==lst[1]:
    if lst[0]!=lst[2]:
        print("Yes")
    else:
        print("No")
elif lst[0]==lst[2]:
    print("Yes")
else:
    print("No")

Failing test case input:
1 -2 -2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
lst=input().split()
if  lst[0]==lst[1]:
    if lst[0]!=lst[2]:
        print("Yes")
    else:
        print("No")
elif lst[0]==lst[2]:
    print("Yes")
elif lst[1]==lst[2]:
    print("Yes")
else:
    print("No")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
inputs = list(map(int, (input().split())))

a = inputs[0]
b = inputs[1]
c = inputs[2]
if(a & b & c == a):
    print("No")
    exit(0)

if(a == b or b == c or c == a):
    print("Yes")
else:
    print("No")
exit(0)


Failing test case input:
1 1 17

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
inputs = list(map(int, (input().split())))

a = inputs[0]
b = inputs[1]
c = inputs[2]
if(a == b and b == c and c == a):
    print("No")
    exit(0)

if(a == b or b == c or c == a):
    print("Yes")
else:
    print("No")
exit(0)

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = map(int, input().split())

cnt = 0

if A == B:
    cnt += 1
if B == C:
    cnt += 1

if cnt == 0 or cnt == 2:
    print('No')
if cnt == 1:
    print('Yes')

Failing test case input:
4 3 4

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C = map(int, input().split())

cnt = 0

if A == B:
    cnt += 1
if B == C:
    cnt += 1
if C == A:
    cnt += 1
    
if cnt == 0 or cnt == 3:
    print('No')

if cnt == 1:
    print('Yes')
Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import collections
inputs = input().split()
if len(collections.Counter(inputs)) == 2:
  print('yes')
else:
  print('no')

Failing test case input:
2 1 17

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
import collections
inputs = input().split()
if len(collections.Counter(inputs)) == 2:
  print('Yes')
else:
  print('No')

Problem: p02771
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A, B, C = map(int, input().split())

if((A != B and B != C) or (A == B and B == C)):
  print("No")
else:
  print("Yes") 

Failing test case input:
6 5 6

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C = map(int, input().split())

if((A != B and B != C and A != C) or (A == B and B == C and A == C)):
  print("No")
else:
  print("Yes")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y, z = map(int, input().split())
if x == y == z or x != y != z:
    print("No")
else:
    print("Yes")


Failing test case input:
5 7 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
x, y, z = map(int, input().split())
if x == y == z or x != y != z and z != x:
    print("No")
else:
    print("Yes")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = map(int, input().split())
if (A == B == C) or ((A != B) and (A != C)) :
    print("No")
else:
    print("Yes")


Failing test case input:
14 1 1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C = map(int, input().split())
if (A == B == C) or ((A != B) and (A != C) and (B != C)) :
    print("No")
else:
    print("Yes")

Problem: p02771
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C = map(int,input().split())

if A==B:
    if B==C:
        print("No")
    else:
        print("Yes")
else:
    print("Yes")



Failing test case input:
14 3 2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A, B, C = map(int, input().split())

if A == B or B == C or C == A:
    if A == B and B == C:
        print("No")
    else:
        print("Yes")

else:
    print("No")
Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


N=int(input())

print((N*(N-1)/2))


Failing test case input:
-158

Expected output:
12561


Actual output:
12561.0


Fixed submission (verdict: Accepted):


N=int(input())
 
print(int(N*(N-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(int(n*(n+1)/2))


Failing test case input:
-110

Expected output:
6105


Actual output:
5995


Fixed submission (verdict: Accepted):
n = int(input())

print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(n*(n-1)/2)

Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
n = int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())

if N <= 1:
    result = 0
else:
    result = int(N * (N-1) / 2)
print(result)

Failing test case input:
-202

Expected output:
20503


Actual output:
0


Fixed submission (verdict: Accepted):
N = int(input())

if N <= 1:
    result = 0
else:
    result = int(N * (N-1) 
print(result)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
print(((N-1)*N)/2)

Failing test case input:
-118

Expected output:
7021


Actual output:
7021.0


Fixed submission (verdict: Accepted):
N=int(input())
print(((N-1)*N)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(n*(n-1)/2)

Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
n = int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


N=int(input())
N=10**9

print((N*(N-1)/2))

Failing test case input:
-110

Expected output:
6105


Actual output:
4.999999995e+17


Fixed submission (verdict: Accepted):


N=int(input())
 
print(int(N*(N-1)

Problem: p02924
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
a= int(input())
print((a*(a-1))/2)

Failing test case input:
-110

Expected output:
6105


Actual output:
6105.0


Fixed submission (verdict: Accepted):
a= int(input())
print((a*(a-1))

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())

print(N*(N-1)/2)

Failing test case input:
-202

Expected output:
20503


Actual output:
20503.0


Fixed submission (verdict: Accepted):
N = int(input())

print(N*(N-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
S=N*(N-1)/2
print(S)

Failing test case input:
-202

Expected output:
20503


Actual output:
20503.0


Fixed submission (verdict: Accepted):
N=int(input())
print(N*(N-1)

Problem: p02924
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
N = int(input())

print(N * (N - 1) / 2)

Failing test case input:
-202

Expected output:
20503


Actual output:
20503.0


Fixed submission (verdict: Accepted):
N = int(input())

print(N * (N - 1)
Problem: p02924
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n = int(input().strip())
print(n * (n - 1) / 2)


Failing test case input:
-202

Expected output:
20503


Actual output:
20503.0


Fixed submission (verdict: Accepted):
n = int(input().strip())
print(int(n * (n - 1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print((n*(n-1))/2)

Failing test case input:
-128

Expected output:
8256


Actual output:
8256.0


Fixed submission (verdict: Accepted):
n = int(input())
print((n*(n-1))

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
if(N==1):
    print(0)
    exit()
if((N-1)%2==0):
    print((N-1)/2*(N))
else:
    print((N-2)/2*(N-1)+N-1)

Failing test case input:
-121

Expected output:
7381


Actual output:
7381.0


Fixed submission (verdict: Accepted):
N=int(input())
if(N==1):
    print(0)
    exit()
if((N-1)%2==0):
    print(((N-1)*N
else:
    print((N-2)*(N-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):




n = int(input())
print((n*n-n)/2)


Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):




n = int(input())
print((n*n-n)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())

print((n * (n - 1)) / 2)

Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
n = int(input())

print((n * (n - 1))

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())

print(n*(n-1)/2)

Failing test case input:
-118

Expected output:
7021


Actual output:
7021.0


Fixed submission (verdict: Accepted):
n = int(input())

print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())

if N == 1:
    output = 0
else:
    output = N*(N-1)/2

print(output)


Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
N = int(input())

if N == 1:
    output = 0
else:
    output = int(N*(N-1)

print(output)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
print((N-1)*N/2)

Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
N=int(input())
print((N-1)*N

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
print((a+1)*a/2)


Failing test case input:
-110

Expected output:
6105


Actual output:
5995.0


Fixed submission (verdict: Accepted):
a = int(input())
print(a*(a-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())

print(((n-1) * n) / 2)


Failing test case input:
-110

Expected output:
6105


Actual output:
6105.0


Fixed submission (verdict: Accepted):
n = int(input())

print((n-1)*n
Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math
N = int(input())
print(N * (N - 1) / 2)

Failing test case input:
-128

Expected output:
8256


Actual output:
8256.0


Fixed submission (verdict: Accepted):

import math
N = int(input())
print(int(N * (N - 1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
print((n*(n-1))/2)

Failing test case input:
-121

Expected output:
7381


Actual output:
7381.0


Fixed submission (verdict: Accepted):
n=int(input())
print((n*(n-1))

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
x=n*(n-1)/2
print(x)

Failing test case input:
-110

Expected output:
6105


Actual output:
6105.0


Fixed submission (verdict: Accepted):
n=int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())

print(N*(N-1)/2)

Failing test case input:
-110

Expected output:
6105


Actual output:
6105.0


Fixed submission (verdict: Accepted):
N=int(input())

print(int(N*(N-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
n-=1
ans=int(n*(n+1)*0.5)

Failing test case input:
-118

Expected output:
7021


Actual output:

Fixed submission (verdict: Accepted):
n=int(input())-1
print(int(n*(n+1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
n-=1

print((n+1)*n/2)

Failing test case input:
-158

Expected output:
12561


Actual output:
12561.0


Fixed submission (verdict: Accepted):
n=int(input())
n-=1

print(((n+1)*n)

Problem: p02924
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n = int(input())
print(n*(n-1)/2)

Failing test case input:
-202

Expected output:
20503


Actual output:
20503.0


Fixed submission (verdict: Accepted):
n = int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())

n = N - 1

print((n + 1) * n / 2)

Failing test case input:
-121

Expected output:
7381


Actual output:
7381.0


Fixed submission (verdict: Accepted):
N = int(input())

n = N - 1

print((n + 1) * n

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

import math
N = int(input())-1
M = 0
x = int(math.ceil((N)/2))
if N%2 == 0:
    M = x*(N+1)
else:
    M = (x-1)*(N+1)
print(M)

Failing test case input:
-128

Expected output:
8256


Actual output:
8320


Fixed submission (verdict: Accepted):

import math
N = int(input())-1
M = 0
x = int(math.ceil((N)/2))
if N%2 == 0:
    M = x*(N+1)
else:
    M = (x-1)*(N+1)+x
print(M)

Problem: p02924
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n=int(input())
print(n*(n-1)/2)

Failing test case input:
-121

Expected output:
7381


Actual output:
7381.0


Fixed submission (verdict: Accepted):
n=int(input())
print(n*(n-1)
Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    N = int(input()) - 1
    if N > 1:
        print(int(N * (1 + N) / 2))
    else:
        print(int(N))

if __name__ == "__main__":
    main()


Failing test case input:
-158

Expected output:
12561


Actual output:
-159


Fixed submission (verdict: Accepted):
def main():
    N = int(input()) - 1
    if N > 1:
        print(int(N * (1 + N) 
    else:
        print(int(N))

if __name__ == "__main__":
    main()

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print((n - 1)*n/2)

Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
n = int(input())
print((n - 1)*n

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input()) -1
print((N+N*N)/2)

Failing test case input:
-121

Expected output:
7381


Actual output:
7381.0


Fixed submission (verdict: Accepted):
N = int(input()) -1
print((N+N*N)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print((N*(N-1))/2)

Failing test case input:
-118

Expected output:
7021


Actual output:
7021.0


Fixed submission (verdict: Accepted):
N = int(input())
print((N*(N-1))

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())

if(N%2==1):
    print(N*(N-1)/2)
else:
    print(N*(N/2-1)+N/2)


Failing test case input:
-110

Expected output:
6105


Actual output:
6105.0


Fixed submission (verdict: Accepted):
N = int(input())

if(N%2==1):
    print(N*(N-1)
else:
    print(N*(N

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(N * (N - 1) / 2)

Failing test case input:
-202

Expected output:
20503


Actual output:
20503.0


Fixed submission (verdict: Accepted):
N = int(input())
print(N * (N - 1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(n*(n+1)/2)

Failing test case input:
-174

Expected output:
15225


Actual output:
15051.0


Fixed submission (verdict: Accepted):
n = int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

def main():
    n = int(input())
    print(n*(n-1)/2)


if __name__ == '__main__':
    main()


Failing test case input:
-118

Expected output:
7021


Actual output:
7021.0


Fixed submission (verdict: Accepted):
def main():
    n = int(input())
    print(n*(n-1)


if __name__ == '__main__':
    main()

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())

print((N-1)*N/2)

Failing test case input:
-121

Expected output:
7381


Actual output:
7381.0


Fixed submission (verdict: Accepted):
N=int(input())

print((N-1)*N

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())

print(n * (n -1) / 2)

Failing test case input:
-158

Expected output:
12561


Actual output:
12561.0


Fixed submission (verdict: Accepted):
n = int(input())
 
print(n * (n-1)
Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())

print(n * (n - 1) / 2)


Failing test case input:
-110

Expected output:
6105


Actual output:
6105.0


Fixed submission (verdict: Accepted):
n = int(input())
 
print(int(n * (n - 1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A = int(input())  - 1
if A ==0 :print(A)
else : print(int(A*(A-1)/2))

Failing test case input:
-128

Expected output:
8256


Actual output:
8385


Fixed submission (verdict: Accepted):
A = int(input())  - 1
if A ==0 :print(A)
else : print(int(A*(A+1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(n * (n - 1) / 2)


Failing test case input:
-158

Expected output:
12561


Actual output:
12561.0


Fixed submission (verdict: Accepted):
n = int(input())
print(int(n * (n - 1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
print(N*(N-1)/2)

Failing test case input:
-158

Expected output:
12561


Actual output:
12561.0


Fixed submission (verdict: Accepted):
N=int(input())
print(N*(N-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
print(N*(N-1)/2)

Failing test case input:
-158

Expected output:
12561


Actual output:
12561.0


Fixed submission (verdict: Accepted):
N=int(input())
x=int(N*(N-1)
print(x)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
print(N*(N-1)/2)


Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
N=int(input())
print((N*(N-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
 
if(n % 2 == 0):
  print((n / 2) * (n - 1))
else:
  print(((n-1) / 2) * n)

Failing test case input:
-110

Expected output:
6105


Actual output:
6105.0


Fixed submission (verdict: Accepted):
n = int(input())
 
if(n % 2 == 0):
  print(int(n / 2) * (n - 1))
else:
  print(int((n-1) / 2) * n)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(n*(n+1)/2 - 2)

Failing test case input:
-174

Expected output:
15225


Actual output:
15049.0


Fixed submission (verdict: Accepted):
n = int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())

print((n-1) * n / 2)

Failing test case input:
-118

Expected output:
7021


Actual output:
7021.0


Fixed submission (verdict: Accepted):
n = int(input())

print((n-1)*n

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(((N-1)*N)/2)

Failing test case input:
-128

Expected output:
8256


Actual output:
8256.0


Fixed submission (verdict: Accepted):
N = int(input())
print(((N-1)*N)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())

print((n * (n - 1)) / 2)

Failing test case input:
-202

Expected output:
20503


Actual output:
20503.0


Fixed submission (verdict: Accepted):
n = int(input())

print(int((n * (n - 1))
Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(n*(n-1)/2)


Failing test case input:
-202

Expected output:
20503


Actual output:
20503.0


Fixed submission (verdict: Accepted):
n = int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(n*(n-1)/2)

Failing test case input:
-128

Expected output:
8256


Actual output:
8256.0


Fixed submission (verdict: Accepted):
n = int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())

print(n * (n - 1) / 2)


Failing test case input:
-158

Expected output:
12561


Actual output:
12561.0


Fixed submission (verdict: Accepted):
n = int(input())

print(n * (n - 1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(N / 2 * (N - 1))


Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
N = int(input())
print(round(N * (N - 1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(n*(n-1)/2)

Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
n = int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(n*(n-1)/2)

Failing test case input:
-118

Expected output:
7021


Actual output:
7021.0


Fixed submission (verdict: Accepted):
n = int(input())
print(int(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(N*(N-1)/2)

Failing test case input:
-128

Expected output:
8256


Actual output:
8256.0


Fixed submission (verdict: Accepted):
N = int(input())
print(N*(N-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
if N == 1:
    print("0")
else:
    print(N * (N - 1) / 2)


Failing test case input:
-128

Expected output:
8256


Actual output:
8256.0


Fixed submission (verdict: Accepted):
N = int(input())
if N == 1:
    print("0")
else:
    print(N * (N - 1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
print(n*(n-1)/2)

Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
n=int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
print((N*(N+1))/2)

Failing test case input:
-118

Expected output:
7021


Actual output:
6903.0


Fixed submission (verdict: Accepted):
N=int(input())
print(N*(N-1)

Problem: p02924
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
N = int(input())

print( N * (N-1) / 2)

Failing test case input:
-118

Expected output:
7021


Actual output:
7021.0


Fixed submission (verdict: Accepted):
N = int(input())

print( N * (N-1)
Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
print(n*(n-1)/2)

Failing test case input:
-158

Expected output:
12561


Actual output:
12561.0


Fixed submission (verdict: Accepted):
n=int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n=int(input())
print(n*(n-1)/2)

Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
n=int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(N*(N-1)/2)

Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
N = int(input())
print(N*(N-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(N*(N-1))


Failing test case input:
-202

Expected output:
20503


Actual output:
41006


Fixed submission (verdict: Accepted):
N = int(input())
print(int(N*(N-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(n*(n-1)/2) 

Failing test case input:
-128

Expected output:
8256


Actual output:
8256.0


Fixed submission (verdict: Accepted):
n = int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
print(0.5*n*(n-1))

Failing test case input:
-158

Expected output:
12561


Actual output:
12561.0


Fixed submission (verdict: Accepted):
n=int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(int(n * (n + 1) / 2))


Failing test case input:
-174

Expected output:
15225


Actual output:
15051


Fixed submission (verdict: Accepted):
n = int(input())
print(n * (n - 1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input().strip())
print(N*(N-1)/2)

Failing test case input:
-128

Expected output:
8256


Actual output:
8256.0


Fixed submission (verdict: Accepted):
N = int(input().strip())
print(N*(N-1)

Problem: p02924
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n=int(input())
print(n*(n+1)/2)


Failing test case input:
-128

Expected output:
8256


Actual output:
8128.0


Fixed submission (verdict: Accepted):
n=int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())

print(n*(n-1)/2)

Failing test case input:
-118

Expected output:
7021


Actual output:
7021.0


Fixed submission (verdict: Accepted):
n = int(input())

print(n*(n-1)
Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
stdin=sys.stdin

ns = lambda:stdin.readline().rstrip()
ni = lambda:int(stdin.readline().rstrip())
nm = lambda:map(int,stdin.readline().split())
nl = lambda:list(map(int,stdin.readline().split()))

N=int(input())
print(N*(N-1)/2)  

Failing test case input:
-128

Expected output:
8256


Actual output:
8256.0


Fixed submission (verdict: Accepted):
import sys
stdin=sys.stdin

ns = lambda:stdin.readline().rstrip()
ni = lambda:int(stdin.readline().rstrip())
nm = lambda:map(int,stdin.readline().split())
nl = lambda:list(map(int,stdin.readline().split()))

N=int(input())
print((N*(N-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(n*(n-1)/2)

Failing test case input:
-128

Expected output:
8256


Actual output:
8256.0


Fixed submission (verdict: Accepted):
n = int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print((n-1)*n/2)


Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
n = int(input())
print((n-1)*n

Problem: p02924
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n=int(input())
print(n*(n-1)/2)


Failing test case input:
-202

Expected output:
20503


Actual output:
20503.0


Fixed submission (verdict: Accepted):
n=int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(((N-1) * N) / 2)

Failing test case input:
-121

Expected output:
7381


Actual output:
7381.0


Fixed submission (verdict: Accepted):
N = int(input())
print(((N-1) * N)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(n*(n-1)/2)

Failing test case input:
-158

Expected output:
12561


Actual output:
12561.0


Fixed submission (verdict: Accepted):
n = int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n=int(input())
print(n*(n-1)/2)

Failing test case input:
-158

Expected output:
12561


Actual output:
12561.0


Fixed submission (verdict: Accepted):
n=int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print((n+1)*n/2)

Failing test case input:
-118

Expected output:
7021


Actual output:
6903.0


Fixed submission (verdict: Accepted):
n = int(input())
print("%d"%((n-1)*n

Problem: p02924
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n=int(input())
print(n*(n-1)/2)

Failing test case input:
-121

Expected output:
7381


Actual output:
7381.0


Fixed submission (verdict: Accepted):
n=int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(((N-1)*N)/2)

Failing test case input:
-110

Expected output:
6105


Actual output:
6105.0


Fixed submission (verdict: Accepted):
N = int(input())
print(((N-1)*N)
Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(N * (N-1) / 2)

Failing test case input:
-158

Expected output:
12561


Actual output:
12561.0


Fixed submission (verdict: Accepted):
N = int(input())
print((N - 1) * N

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())

print(N*(N-1) / 2)

Failing test case input:
-128

Expected output:
8256


Actual output:
8256.0


Fixed submission (verdict: Accepted):
N = int(input())

print(N*(N-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
sys.setrecursionlimit(10**6)
readline = sys.stdin.readline
n = int(input())

ans = n/2*(n-1)

print(ans)

Failing test case input:
-118

Expected output:
7021


Actual output:
7021.0


Fixed submission (verdict: Accepted):
import sys
sys.setrecursionlimit(10**6)
readline = sys.stdin.readline
n = int(input())

ans = int(n*(n-1)

print(ans)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())

print(a*(a+1)/2)

Failing test case input:
-110

Expected output:
6105


Actual output:
5995.0


Fixed submission (verdict: Accepted):
a = int(input())

print(a*(a-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x=int(input())
print(x*(x+1)/2)


Failing test case input:
-158

Expected output:
12561


Actual output:
12403.0


Fixed submission (verdict: Accepted):
x=int(input())
print(x*(x-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print( ((n * (n+1))/2) - n )


Failing test case input:
-121

Expected output:
7381


Actual output:
7381.0


Fixed submission (verdict: Accepted):
n = int(input())
print( ((n * (n+1))

Problem: p02924
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n = int(input())
m = int((n - 1) / 2)
print(n * m)

Failing test case input:
-202

Expected output:
20503


Actual output:
20402


Fixed submission (verdict: Accepted):
n = int(input())
print(n * (n - 1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input().strip())
print(((n-1)*n)/2)


Failing test case input:
-202

Expected output:
20503


Actual output:
20503.0


Fixed submission (verdict: Accepted):
n = int(input().strip())
print(((n-1)*n)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(N*(N - 1)/2)

Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
N = int(input())
print(N*(N - 1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print((N - 1) * N / 2)

Failing test case input:
-202

Expected output:
20503


Actual output:
20503.0


Fixed submission (verdict: Accepted):
N = int(input())
print(int((N - 1) * N

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print((n-1)*n/2)

Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
n = int(input())
print((n-1)*n
Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(n*(n-1)/2)

Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
n = int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
print(N*(N-1)/int(2))


Failing test case input:
-158

Expected output:
12561


Actual output:
12561.0


Fixed submission (verdict: Accepted):
N=int(input())
print(N*(N-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(N*(N-1)/2)

Failing test case input:
-121

Expected output:
7381


Actual output:
7381.0


Fixed submission (verdict: Accepted):
N = int(input())
print(int(N*(N-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())

print((1/2*(n-1)*(n)))

Failing test case input:
-158

Expected output:
12561


Actual output:
12561.0


Fixed submission (verdict: Accepted):
n=int(input())

print((n*(n-1))

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())

print(n*(n-1)/2)

Failing test case input:
-110

Expected output:
6105


Actual output:
6105.0


Fixed submission (verdict: Accepted):
n = int(input())

print(n*(n-1)

Problem: p02924
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n=int(input())
print(int((n-1)*int(n/2)))


Failing test case input:
-121

Expected output:
7381


Actual output:
7320


Fixed submission (verdict: Accepted):
n=int(input())
print(int((n-1)*n

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
print((N-1)*N/2)

Failing test case input:
-110

Expected output:
6105


Actual output:
6105.0


Fixed submission (verdict: Accepted):
N=int(input())
ans=((N-1)*N
print(ans)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(0.5*n*(n-1))

Failing test case input:
-118

Expected output:
7021


Actual output:
7021.0


Fixed submission (verdict: Accepted):
n = int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())

print((n - 1) * n / 2)

Failing test case input:
-128

Expected output:
8256


Actual output:
8256.0


Fixed submission (verdict: Accepted):
n = int(input())

print((n - 1) * n

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
while True:
    try:
        N = int(input())
        print(N*(N-1)/2)
    except EOFError:
        break

Failing test case input:
-202

Expected output:
20503


Actual output:
20503.0


Fixed submission (verdict: Accepted):
while True:
    try:
        N = int(input())
        print(N*(N-1)
    except EOFError:
        break

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(n*(n-1)/2)

Failing test case input:
-202

Expected output:
20503


Actual output:
20503.0


Fixed submission (verdict: Accepted):
n = int(input())
print(n*(n-1)
Problem: p02924
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
N = int(input())

print(N * (N - 1) / 2)

Failing test case input:
-121

Expected output:
7381


Actual output:
7381.0


Fixed submission (verdict: Accepted):
N = int(input())
 
print(N * (N - 1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print((N-1)/2 * N)

Failing test case input:
-118

Expected output:
7021


Actual output:
7021.0


Fixed submission (verdict: Accepted):
N = int(input())
print(((N-1) * N)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())

print((N*(N-1))/2)

Failing test case input:
-121

Expected output:
7381


Actual output:
7381.0


Fixed submission (verdict: Accepted):
N = int(input())

print((N*(N-1))

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
print(N*(N-1)/2)

Failing test case input:
-202

Expected output:
20503


Actual output:
20503.0


Fixed submission (verdict: Accepted):
N=int(input())
print(N*(N-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
print(((N-1)*N)/2)


Failing test case input:
-202

Expected output:
20503


Actual output:
20503.0


Fixed submission (verdict: Accepted):
N = int(input())

print(round(((N-1)*N)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print((n-1)*n/2)

Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
n = int(input())
print((n-1)*n

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print((n-1)*n/2)

Failing test case input:
-110

Expected output:
6105


Actual output:
6105.0


Fixed submission (verdict: Accepted):
n = int(input())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())

print(n*(n-1)/2)
  

Failing test case input:
-174

Expected output:
15225


Actual output:
15225.0


Fixed submission (verdict: Accepted):
n = int(input())

print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())-1

if n%2==0:
  ans = int(n/2)
  ans = ans*(n-1)
else:
  ans = int((n-1)/2)
  ans = ans*n
print(ans)


Failing test case input:
-121

Expected output:
7381


Actual output:
7503


Fixed submission (verdict: Accepted):
n = int(input())

if n%2==0:
  ans = int(n/2)
  ans = ans*(n-1)
else:
  ans = int((n-1)/2)
  ans = ans*n
print(ans)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
n = int(sys.stdin.readline())
print(n*(n-1)/2)


Failing test case input:
-121

Expected output:
7381


Actual output:
7381.0


Fixed submission (verdict: Accepted):
import sys
n = int(sys.stdin.readline())
print(n*(n-1)

Problem: p02924
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())-1

print(int(N*(N-1)/2))

Failing test case input:
-158

Expected output:
12561


Actual output:
12720


Fixed submission (verdict: Accepted):
N = int(input())

print((N*(N-1))