Task: | Sanalista |
Sender: | Salama |
Submission time: | 2020-09-28 23:58:53 +0300 |
Language: | C++ (C++17) |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | WRONG ANSWER | 0 |
test | verdict | time | |
---|---|---|---|
#1 | WRONG ANSWER | 0.01 s | details |
#2 | WRONG ANSWER | 0.01 s | details |
#3 | WRONG ANSWER | 0.01 s | details |
Compiler report
input/code.cpp: In function 'int main()': input/code.cpp:7:9: warning: unused variable 'ans' [-Wunused-variable] int ans = 0; ^~~ input/code.cpp:9:22: warning: 'count' is used uninitialized in this function [-Wuninitialized] for(int i = 0; i < count; i++) { ~~^~~~~~~
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); } //std::cout << ans << "\n"; }
Test details
Test 1
Verdict: WRONG ANSWER
input |
---|
1000 korvata sopimusaika nuhatartunta korttiautomaatti ... |
correct output |
---|
15 |
user output |
---|
(empty) |
Test 2
Verdict: WRONG ANSWER
input |
---|
1000 pub hansikaslokero erikoisvalmisteinen unijukka ... |
correct output |
---|
42 |
user output |
---|
(empty) |
Test 3
Verdict: WRONG ANSWER
input |
---|
1000 haapalastu toipumisaika mustalaiskieli taidelainaamo ... |
correct output |
---|
70 |
user output |
---|
(empty) |