【入門1】順序結構 P5703 【深基2.例5】蘋果採購 乘法
AC程式碼如下:
#include <bits/stdc++.h>
int main(){
int a,b,c;
scanf("%d%d",&a,&b);
c=a*b;
printf("%d\n",c);
return 0;
}
相關推薦
【入門1】順序結構 P5703 【深基2.例5】蘋果採購 乘法
技術標籤:NOIP 提高組 複賽NOIP 普及組 初賽 【入門1】順序結構 P5703 【深基2.例5】蘋果採購
【入門1】順序結構 P5705 【深基2.例7】數字反轉 浮點轉整數,模,整除+字串逆序輸出
技術標籤:NOIP 提高組 複賽NOIP 普及組 複賽 【入門1】順序結構 P5705 【深基2.例7】數字反轉
洛谷-P5713 【深基3.例5】洛谷團隊系統
洛谷-P5713 【深基3.例5】洛谷團隊系統 原題連結:https://www.luogu.com.cn/problem/P5713
【C實現】P5706 【深基2.例8】再分肥宅水
#include<stdio.h> int main(){ float water; int person; scanf("%f %d", &water, &person);
P5250 【深基17.例5】木材倉庫 題解
題目傳送門 一、理解與感悟 1、STL中自帶的set,可以自動去重。 2、STL中自帶的set,自帶排序功能,可以直接使用lower_bound找出大於等於目標值的位置。upper_bound是找出大於目標值的位置。
P5705 【深基2.例7】數字反轉 題解
P5705 【深基2.例7】數字反轉 題解 Content 給定一個一位小數\\(n(100<n<1000)\\),將數字反轉並輸出,如\\(123.4\\rightarrow 4.321\\)。
洛谷 P5706 【深基2.例8】再分肥宅水
題目連線: P5706 【深基2.例8】再分肥宅水 - 洛谷 | 電腦科學教育新生態 (luogu.com.cn)
【入門1】順序結構 P5709 【深基2.習6】Apples Prologue 向上取整,分母為0,有相當的思維量
技術標籤:NOIP 提高組 複賽NOIP 普及組 複賽 【入門1】順序結構 P5709 【深基2.習6】Apples Prologue
【入門1】順序結構 P5708 【深基2.習2】三角形面積 開方函式
技術標籤:NOIP 提高組 複賽NOIP 普及組 複賽 【入門1】順序結構 P5708 【深基2.習2】三角形面積
洛谷-P5709 【深基2.習6】Apples Prologue
洛谷-P5709 【深基2.習6】Apples Prologue 原題連結:https://www.luogu.com.cn/problem/P5709 題目描述
洛谷-P5712 【深基3.例4】Apples
洛谷-P5712 【深基3.例4】Apples 原題連結:https://www.luogu.com.cn/problem/P5712 題目描述
洛谷-P5714 【深基3.例7】肥胖問題
洛谷-P5714 【深基3.例7】肥胖問題 原題連結:https://www.luogu.com.cn/problem/P5714 題目描述
洛谷-P5723 【深基4.例13】質數口袋
洛谷-P5723 【深基4.例13】質數口袋 原題連結:https://www.luogu.com.cn/problem/P5723 題目描述
洛谷-P5734 【深基6.例6】文書處理軟體
洛谷-P5734 【深基6.例6】文書處理軟體 原題連結:https://www.luogu.com.cn/problem/P5734
洛谷-P1923 【深基9.例4】求第 k 小的數
洛谷-P1923 【深基9.例4】求第 k 小的數 原題連結:https://www.luogu.com.cn/problem/P1923
P5076 【深基16.例7】普通二叉樹(簡化版)
只要坑不死,就往死裡坑唄。。。 二叉搜尋樹的模板題,本題無刪除操作 核心函式:
P1923 【深基9.例4】求第 k 小的數&&P1177 【模板】快速排序
First Second 快速排序還是很重要的 #include<iostream> #include<cstdio> #include<algorithm>
P5715 【深基3.例8】三位數排序(程式碼有點長)
技術標籤:洛谷題目C語言基礎題c語言 題目描述 給出三個整數 a,b,c(0\\le a,b,c \\le 100)a,b,c(0≤a,b,c≤100),要求把這三位整數從小到大排序。
P5076 【深基16.例7】普通二叉樹(簡化版)題解
題目傳送門 一、陣列+lower_bound+upper_bound模擬 #include <bits/stdc++.h> using namespace std;
P5266 【深基17.例6】學籍管理
#include <bits/stdc++.h> using namespace std; int n; string name; int opt, score; unordered_map<string, int> _map;