CCF_ 201412-1_门禁系统

Posted 冷暖知不知

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CCF_ 201412-1_门禁系统相关的知识,希望对你有一定的参考价值。

水。

 

#include<iostream>
#include<cstdio>
using namespace std;

int main()
{
    int i,n,a[1005],num[1005] = {0};
    cin >> n;
    for(i = 1;i <= n;i++)   cin >> a[i];
    for(i = 1;i < n;i++)
    {
        num[a[i]]++;
        cout << num[a[i]] <<  ;
    }
    num[a[i]]++;
    cout << num[a[i]] << endl;
    return 0;
}

 

以上是关于CCF_ 201412-1_门禁系统的主要内容,如果未能解决你的问题,请参考以下文章

CCF - 201412-1 - 门禁系统

CCF 201412-1 门禁系统

CCF201412-1 门禁系统(100分)序列处理

CSP201412-1:门禁系统

CCF_ 201509-3_模板生成系统

CCF-201512-3 绘图