Employers: discover CodinGame for tech hiring
Practice
Compete
1
Contribute
Learn
1
Log In
Sign Up
Quiz 77
Anonymous
1,338 views
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include
<
iostream
>
int
main()
{
for
(
int
i =
0
; i <
4
; ++i)
{
switch
(i)
{
case
0
: std::cout <<
"0"
;
case
1
: std::cout <<
"1"
;
continue
;
case
2
: std::cout <<
"2"
;
break
;
default
: std::cout <<
"D"
;
break
;
}
std::cout <<
"."
;
}
return
0
;
}
Run
0
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
Quiz 66
By
Unnamed contributor
1,471
0
0
std::shared_ptr cyclic references
By
Unnamed contributor
1,694
2
0
Correct the code to display 'Hello World!'
By
SJTECollege
1,920
96
1
Python Hello World program
By
SJTECollege
1,282
77
4
CodinGame - Home
ABOUT US
CAREERS
PRIVACY
FAQ
CodinGame - Work
The #1 tech hiring platform
SCREENING
SOURCING
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
×