--- title: "03-差" created: 2025-12-02 tags: - 项目 aliases: - 差 --- # 差 ## 题目 [差](https://www.acwing.com/problem/content/610/) ![[image-1aa4f1d9.png]] ## 思路分析 ## 代码实现 ```java import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A=sc.nextInt(),B=sc.nextInt(),C=sc.nextInt(),D=sc.nextInt(); System.out.println("DIFERENCA = " + (A * B - C * D)); } } ``` ## 同类题型 ## 视频讲解 --- **项目分区导航**: [[02-两点间的距离|两点间的距离]] ⬅️ | 03-差 | ➡️ [[04-时间转换|时间转换]]