网页学习体会

  • 首页
  • 个人博客
您的位置: 首页  >  IT文章  >  【AtCoder ABC 075 A】One out of Three

【AtCoder ABC 075 A】One out of Three

分类: IT文章 • 2022-03-28 12:04:01

【AtCoder ABC 075 A】One out of Three

【链接】 我是链接,点我呀:)
【题意】

在这里输入题意

【题解】

用map轻松搞定

【代码】

    #include <bits/stdc++.h>
    using namespace std;
     
    map <int, int> mmap;
     
    int main()
    {
    	for (int i = 0; i < 3; i++)
    	{
    		int x;
    		scanf("%d", &x);
    		mmap[x]++;
    	}
    	for (auto y : mmap)
    		if (y.second == 1)
    			printf("%d
", y.first);
    	return 0;
    }

相关推荐

  • atcoder abc 188 题解 A - Three-Point Shot B - Orthogonality C - ABC Tournament D - Snuke Prime E - Peddler F - +1-1x2
  • AtCoder 神题汇总 Panasonic Programming Contest 2020 Task E Three Substrings ABC101D Snuke Number ABC083D Wide Flip ABC129F Takahashi's Basics in Education and Learning Japanese Student Championship 2019 Qualification Task C Cell Inversion
  • 【AtCoder ABC 075 B】Minesweeper
  • 【AtCoder ABC 075 D】Axis-Parallel Rectangle
  • 【AtCoder ABC 075 C】Bridge
  • 【AtCoder ABC 075 A】One out of Three
  • 【习题5-4 UVA-10763】Foreign Exchange
  • 【题解】 bzoj3105: [cqoi2013]新Nim游戏 (线性基+贪心)
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 网页学习体会    备案号:   粤ICP备20002247号