結果
| 問題 | No.182 新規性の虜 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-06-08 17:12:59 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 265 bytes |
| コンパイル時間 | 125 ms |
| コンパイル使用メモリ | 29,184 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-22 13:31:16 |
| 合計ジャッジ時間 | 11,437 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 1 WA * 26 |
ソースコード
#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);
}