Codeforces Is your horseshoe on the other hoof?
来源:互联网 发布:美服战网客户端mac 编辑:程序博客网 时间:2024/06/05 01:55
题目链接:http://codeforces.com/problemset/problem/228/A
import java.util.HashMap;import java.util.Map;import java.util.Scanner;public class Isyourhorseshoeontheotherhoof {public static void main(String[] args) {Scanner scanner = new Scanner(System.in);Map<Integer, Integer> map = new HashMap<>();for(int i = 0; i < 4; i++) {map.put(scanner.nextInt(), 1);}System.out.println(4-map.size());}}
阅读全文
0 0
- CodeForces-228A-Is your horseshoe on the other hoof?
- CodeForces 228A Is your horseshoe on the other hoof?
- Codeforces Is your horseshoe on the other hoof?
- Is your horseshoe on the other hoof?
- A. Is your horseshoe on the other hoof?
- codeforces228A Is your horseshoe on the other hoof?(水题)
- 228A - Is your horseshoe on the other hoof?
- codeforces——228A —— Is your horseshoe on the other hoof?
- The shoe is on the other foot 指什么
- 411. The grass is greener on the other side. 这山望着那山高
- capacity is approximately 1880 cubic inches. On the other hand
- On the other hand
- Your boot partition is on a disk using the GPT
- unable to start the monitor on 4454 ,an other instance is problaly using the same port
- Verify the Developer App certificate for your account is trusted on your device
- what is the location of the gcc program on your machine
- linux安装问题:what is the location of the gcc program on your machine
- 安装vmware-tools出现"what is the location of the "ifconfig"program on your machine?"
- linux下图形安装oracle数据库
- devenv使用方法
- layui 四级联动(省、市、区、小区) 链接数据库版本带后台、图片上传
- [Mysql]数据控制语言(DCL)
- 一个shell脚本例子
- Codeforces Is your horseshoe on the other hoof?
- 【Fiddler】几个接函数的基础方法解析
- JavaWeb中上传和下载
- 椭圆曲线密码学相关概念与开源实现
- Node.js HTTP 使用详解
- 挨踢三年
- Redis 三种启动设置
- Java设计模式-工厂模式(简单工厂+工厂方法)
- HDU1394