Employers: discover CodinGame for tech hiring
CodinGame - Home
ACTIVITIES
PRACTICE
COMPETE
COOPERATE
LEARN
EVENTS
COMMUNITY
CONTRIBUTIONS
LIVE STREAMS
DISCORD
FORUMS
BLOG
Log In
Sign Up
Word Count in Code
joboc
5,312 views
Word Count
yourCode.txt
WordCount.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ENTER YOUR CODE HERE AND PRESS "Run"
For instance:
#include <iostream>
int main()
{
int i = 0;
i += 1 + 1 + 1 + 1;
i += 1 + 1 + 1 + 1 + 1;
i += 1 + 1 + 1 + 1;
i += 1 + 1 + 1 + 1;
i += 1 + 1 + 1 + 1 + 1;
i += 1 + 1 + 1 + 1 + 1 + 1;
i += 1 + 1 + 1 + 1;
i += 1 + 1 + 1 + 1;
i += 1 + 1 + 1 + 1 + 1 + 1;
std::cout << i << '\n';
}
1
#include <algorithm>
Run
19
0
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
Suggested playgrounds
Wrapper<int&> with std::remove_reference_t
By
joboc
49.2K
1
0
Wrapper<int>
By
joboc
49.2K
2
0
Apprendre le C++
By
yantra
28.5K
286
7
Using Pragma For Compile Optimization
By
LazyMammal
6,803
14
1
CodinGame - Home
ABOUT US
CAREERS
PRIVACY
FAQ
CodinGame - Work
The #1 tech hiring platform
SCREENING
RETAIN
ABOUT US
CAREERS
PRIVACY
FAQ
Facebook
YouTube
Twitter
LinkedIn
FR
EN
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants
Keyboard Shortcuts:
?
Show / hide this help menu
×