当前位置:网站首页>Contest3147 - game 38 of 2021 Freshmen's personal training match_ A: chicken
Contest3147 - game 38 of 2021 Freshmen's personal training match_ A: chicken
2022-07-02 06:07:00 【This question AC sleep again】
//
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n,x,y;
double temp,price;
while( ~scanf("%*d%*d%d",&n) ) // The first two data are useless
{
price=1e6+7;
while( n-- )
{
scanf("%d%d",&x,&y);
temp=(double)x/y;
price=min( price,temp );
}
printf("%.2lf\n",1000*price);
}
return 0;
}
边栏推荐
- Some descriptions of Mipi protocol of LCD
- Error creating bean with name 'instanceoperatorclientimpl' defined in URL when Nacos starts
- Several keywords in C language
- 经典文献阅读之--Deformable DETR
- 【C语言】筛选法求素数
- 使用sha256文件验证下载的文件
- The official zero foundation introduction jetpack compose Chinese course is coming!
- How to use mitmproxy
- servlet的web.xml配置详解(3.0)
- php数组转化为xml
猜你喜欢
I/o impressions from readers | prize collection winners list
Shenji Bailian 3.54-dichotomy of dyeing judgment
Linkage between esp8266 and stc8h8k single chip microcomputer - Weather Clock
ES6的详细注解
Fundamentals of software testing
Reading notes of cgnf: conditional graph neural fields
步骤详解 | 助您轻松提交 Google Play 数据安全表单
Step by step | help you easily submit Google play data security form
神机百炼3.54-染色法判定二分图
【C语言】简单实现扫雷游戏
随机推荐
神机百炼3.53-Kruskal
ESP8266与STC8H8K单片机联动——天气时钟
Go learning notes integration
借力 Google Cloud 基础设施和着陆区,构建企业级云原生卓越运营能力
Error creating bean with name 'instanceoperatorclientimpl' defined in URL when Nacos starts
Vscode paste image plugin saves image path settings
servlet的web.xml配置详解(3.0)
外部中断无法进入,删代码再还原就好......记录这个想不到的bug
php按照指定字符,获取字符串中的部分值,并重组剩余字符串为新的数组
Web page user step-by-step operation guide plug-in driver js
Detailed notes of ES6
神机百炼3.52-Prim
CNN可视化技术 -- CAM & Grad-CAM详解及pytorch简洁实现
cookie插件和localForage离线储存插件
经典文献阅读之--SuMa++
PHP read file (read JSON file, convert to array)
php读文件(读取json文件,转换为数组)
PHP parent
How vite is compatible with lower version browsers
keepalived安装使用与快速入门