CSES - Datatähti 2021 alku - Results
Submission details
Task:Sanalista
Sender:Salama
Submission time:2020-09-29 00:01:20 +0300
Language:C++ (C++17)
Status:READY
Result:0
Feedback
groupverdictscore
#10
Test results
testverdicttime
#10.01 sdetails
#20.01 sdetails
#30.01 sdetails

Code

#include <iostream>
#include <string>

int main() {
    int count;
    std::string str;
    int ans = 0;
    std::cin >> count;
    for(int i = 0; i < count; i++) {
        std::cin >> str;
        ans += ((str.length() % 2) != 1);
    }
    return ans;
}

Test details

Test 1

Verdict:

input
1000
korvata
sopimusaika
nuhatartunta
korttiautomaatti
...

correct output
15

user output
(empty)

Test 2

Verdict:

input
1000
pub
hansikaslokero
erikoisvalmisteinen
unijukka
...

correct output
42

user output
(empty)

Test 3

Verdict:

input
1000
haapalastu
toipumisaika
mustalaiskieli
taidelainaamo
...

correct output
70

user output
(empty)