結果
| 問題 | No.182 新規性の虜 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-06-08 17:20:22 |
| 言語 | C(gnu17) (gcc 15.2.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 268 bytes |
| 記録 | |
| コンパイル時間 | 133 ms |
| コンパイル使用メモリ | 38,596 KB |
| 最終ジャッジ日時 | 2026-02-21 23:50:21 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 27 |
ソースコード
#include <stdio.h>
int main()
{
int n,i,j;
scanf("%d",&n);
int input[n],cnt=0;
for(i=0;i<n;i++)
scanf("%d",input[i]);
for(i=0;i<n;i++)
for(j=0;j<n;j++)
if(input[i] == input[j])
{
cnt++;
break;}
printf("%d",n-cnt);
}