当前位置:网站首页>2063: [example 1.4] cattle eat grass
2063: [example 1.4] cattle eat grass
2022-06-12 13:23:00 【Xiao Liu wants to be number one】
2063:【 example 1.4】 Cattle eat grass
The time limit : 1000 ms Memory limit : 65536 KB
Submission number : 27604 Passing number : 16637
【 Title Description 】
There's a ranch , The grass on the pasture grows at a constant speed every day , This pasture is available for 15 Cattle to eat 20 God , Or available 20 Cattle to eat 10 God , that , The amount of grass that grows in this pasture every day can feed several cows 1 God ?
【 Input 】
( nothing )
【 Output 】
As stated in the title , The number of cattle .
【 sample input 】
( nothing )
【 sample output 】
( nothing )
#include<iostream>
using namespace std;
int main()
{
int num, sum,v,m;//v Is the daily growth ,m It's the amount each cow eats
num = (15*20-20 * 10) / (20 - 10);
cout << num;
return 0;
}
边栏推荐
- VGA display color bar and picture (FPGA)
- Install MySQL database independently on Debian 10
- Embedded driver design
- "New continent" of mobile application going to sea
- Improve pipeline efficiency: you need to know how to identify the main obstacles in ci/cd pipeline
- Embedded system hardware composition - embedded system hardware architecture
- C语言【23道】经典面试题【下】
- Symbolic constant, const qualifier
- 高通平台开发系列讲解(协议篇)QMI简单介绍及使用方法
- It is enough to read this article. Web Chinese development
猜你喜欢

"New continent" of mobile application going to sea

单向环形链表实现约瑟夫环

嵌入式系统硬件构成-基于ARM的嵌入式开发板介绍

嵌入式系统概述1-嵌入式系统定义、特点和发展历程

About paiwen

torch_geometric message passing network

There was an error installing mysql. Follow the link below to CMD

嵌入式系统硬件构成-嵌入式系统硬件体系结构

Script import CDN link prompt net:: err_ FILE_ NOT_ Found problem

嵌入式系统概述2-嵌入式系统组成和应用
随机推荐
Openmax (OMX) framework
Multi source BFS problem template (with questions)
Newoj week 10 question solution
[brush title] probability of winning a draw
[cloud native | kubernetes] in depth understanding of deployment (VIII)
Microsoft Word tutorial, how to insert a header or footer in word?
Semantic segmentation with pytorch
创新实训(十)高级界面美化
Volume mount and mirror creation
B站分布式KV存储混沌工程实践
import torch_geometric 的Data 查看
看完这一篇就够了,web中文开发
Innovation training (XI) summary of some bugs in the development process
Chaotic engineering practice of distributed kV storage in station B
Five ways to quickly download large files from Google cloud disk
LeetCode滑动窗口刷题总结
Installation of pagoda
Will the next star of PPT for workplace speech be you [perfect summary] at the moment
Bitmap, bloom filter and hash sharding
How to solve the problem of data table query error when SQLite writes the registration function?