Submission #19560022


Source Code Expand

Copy
# C Green Bin

from collections import Counter

N = int(input())

ans = 0
Ss = []
for i in range(N):
  s = sorted(input())
  for ss in Ss:
    if ss == s:
      ans += 1
  Ss.append(s)

print(ans)

Submission Info

Submission Time
Task C - Green Bin
User chicken1227
Language Python (3.8.2)
Score 0
Code Size 211 Byte
Status TLE
Exec Time 2206 ms
Memory 10964 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 300
Status
AC × 3
AC × 5
TLE × 8
Set Name Test Cases
Sample a01, a02, a03
All a01, a02, a03, b04, b05, b06, b07, b08, b09, b10, b11, b12, b13
Case Name Status Exec Time Memory
a01 AC 22 ms 9188 KB
a02 AC 23 ms 9300 KB
a03 AC 28 ms 9100 KB
b04 AC 23 ms 9192 KB
b05 TLE 2206 ms 10636 KB
b06 TLE 2206 ms 10964 KB
b07 TLE 2206 ms 10684 KB
b08 TLE 2206 ms 10820 KB
b09 TLE 2206 ms 10704 KB
b10 TLE 2206 ms 10724 KB
b11 TLE 2206 ms 10576 KB
b12 TLE 2206 ms 10724 KB
b13 AC 70 ms 9376 KB