OpenJudge 10:The size of "Hello, World!"

Description

Remember in the last chapter, we used to output "Hello, World!"?

Although it is not the data of the basic data type involved in this chapter, we can also use the sizeof function to obtain the size of the space it occupies.

Please program to find its size and see if it is the same as you imagined?

Input

none.

Output

An integer, the size of "Hello, World!".

Input sample

(none)

Output sample

(not provided)

hint

"Hello, World!" is actually a string type, which will be described in detail in Chapter 1.7.

Answer

Comment first then view it after your comment is approved. Join QQ Group to display all hidden texts.

Result

Used memory: 128kB
Run time: 1ms
Language:G++
Submit time:2019-04-14 09:33:13

http://noi.openjudge.cn/ch0102/01/

OpenJudge 10:The size of "Hello, World!"

https://blog.tsinbei.com/en/archives/544/

Author
Hsukqi Lee
Posted on

2022-07-03

Edited on

2022-07-28

Licensed under

CC BY-NC-ND 4.0

# Programing  Cpp  OpenJudge  NOI  NOIP

Comments

Name
Mail
Site
None yet