submission #2492987279 is getting WA in TEST CASE 16 of Problem 520A https://mirror.codeforces.com/contest/520/submission/242987279 please help
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3773 |
3 | Radewoosh | 3646 |
4 | ecnerwala | 3624 |
5 | jqdai0815 | 3620 |
5 | Benq | 3620 |
7 | orzdevinwang | 3612 |
8 | Geothermal | 3569 |
8 | cnnfls_csy | 3569 |
10 | gyh20 | 3447 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | awoo | 161 |
2 | maomao90 | 160 |
3 | nor | 157 |
4 | atcoder_official | 156 |
4 | cry | 156 |
6 | -is-this-fft- | 155 |
7 | maroonrk | 154 |
8 | adamant | 153 |
9 | Um_nik | 151 |
10 | djm03178 | 146 |
submission #2492987279 is getting WA in TEST CASE 16 of Problem 520A https://mirror.codeforces.com/contest/520/submission/242987279 please help
Название |
---|
Auto comment: topic has been updated by thanatos_17 (previous revision, new revision, compare).
Just try to output the string $$$x$$$ after function
small
and you will find that there's no change.That's because you forget to add
&
instring abc
so that the changes only perform on $$$abc$$$, not $$$x$$$.You have made it complicated you can just convert all the characters to either uppercase or lowercase and insert them in a set. And then check for the condition whether size is equal to 26 or not. My code:
include<bits/stdc++.h>
using namespace std;
int main(){
}