当前位置:网站首页>2062: [example 1.3] movie tickets
2062: [example 1.3] movie tickets
2022-06-12 13:23:00 【Xiao Liu wants to be number one】
2062:【 example 1.3】 Cinema ticket
The time limit : 1000 ms Memory limit : 65536 KB
Submission number : 37996 Passing number : 22711
【 Title Description 】
It is known that the ticket price of a child's movie is 10 element , Calculation x What's the total fare for a child ?
【 Input 】
Input x.
【 Output 】
The number of people and the total price of movie tickets , Separated by a space .
【 sample input 】
2
【 sample output 】
2 20
#include<iostream>
using namespace std;
int main()
{
int x, sum;
cin >> x;
sum = x * 10;
cout << x << " " << sum;
return 0;
}
边栏推荐
- import torch_geometric 第一个图网络例子
- hudi 键的生成(Key Generation)
- VGA display color bar and picture (FPGA)
- 5V升压到12.6V的锂电池充电IC芯片方案FS4062B
- 403 you don't have permission to access this resource
- 苹果电脑上MySQL安装完成找不到怎么办
- Known as the next generation monitoring system! See how awesome it is
- 【云原生 | Kubernetes篇】深入了解Ingress
- Deploy opengauss database based on Huawei cloud Kunpeng elastic ECS [Gauss is not a mathematician this time]
- Volume mount and mirror creation
猜你喜欢
Newoj week 10 question solution
Mui login database improvement and Ajax asynchronous processing [mui+flask+mongodb+hbuilderx]
MUI登录数据库完善与AJAX异步处理【MUI+Flask+MongoDB+HBuilderX】
【刷题篇】抽牌获胜的概率
Microsoft Word tutorial, how to insert a header or footer in word?
list和dict的应用
Further understanding of the network
[database] Navicat -- Oracle database creation
Design virtual network to realize communication between virtual machine instance and external network
Eight misunderstandings are broken one by one (2): poor performance? Fewer applications? You worry a lot about the cloud!
随机推荐
Chaotic engineering practice of distributed kV storage in station B
torch_ geometric message passing network
Resume NFT platform trustrecruit joined Octopus network as a candidate application chain
移动应用出海的“新大陆”
Stm32f1 and stm32cubeide programming examples - device driver -eeprom-at24c256 driver
STM32F1与STM32CubeIDE编程实例-设备驱动-DHT11温度温度传感器驱动
leetcode 47. Permutations II 全排列 II(中等)
Install MySQL database independently on Debian 10
达梦数据库DM8 windows环境安装
成功跳槽阿里,进阶学习
Newoj week 10 question solution
imagemagick:a gentle introduction to magick++
微信web开发者工具使用教程,web开发问题
Successful job hopping Ali, advanced learning
Structure matérielle du système embarqué - introduction du Conseil de développement embarqué basé sur arm
用PyTorch进行语义分割
Microsoft Word tutorial, how to insert a header or footer in word?
2022 ARTS|Week 23
import torch_ Geometric loads some common datasets
章鱼网络进展月报 | 2022.5.1-5.31