~/algor $ cat duels/566
Duel #566
A 1v1 battle on the problem «Number of distinct letters».
BATTLE OVER
Winner: Malika Sharipova
Solved in 2 min 6 s
Winner: Malika Sharipova
The winner was the first to solve it correctly — in 2 min 6 s.
String-23
String
Easy
1000 ms
128 MB
Number of distinct letters
A string $s$ of lowercase Latin letters is given. Find how many distinct letters occur in it.
Sample tests
Input #1
banana
Output #1
3
Input #2
abcabc
Output #2
3
Battle results compared
1v1 reportSojida Otaqulova
@sojida_otaqulova
Not solved
Malika Sharipova
@malikaxanim_08
Winner (1st place)
—
Solve time
02:06
0
Submissions
1
—
Language
C++ (GCC 15)
—
Run time
3 ms
Submission timeline (1)
All submissions
M
Malika Sharipova
+02:06
WIN
Accepted
C++ (GCC 15)
· 3 ms
· 4.1 MB
Malika Sharipova won
The 1v1 battle ended after a hard fight.
S
Sojida Otaqulova
Solution: Not solved
Rating: 1257 (-15)
M
Malika Sharipova
Solution: 2 min 6 s
Rating: 1307 (+15)
RIVAL FOUND!
1v1 DUEL IS STARTING
VS
15 minutes
Loading the arena...