其实很简单??!!

```

int main  ()
{
	int a=10, b=2, c = 2, d = 10;
	cin >> a >> b >> d;
	for ( int i = 0; i < d; i++ )
	{
		cin >> c;
		if ( a == c )  cout << a  << ' ';
		if ( b != c )  cout << b << ' ';
		if ( c % 3 != 0 )  cout << c << ' ';
		if ( a != c && b == c && c % 3 == 0 )  cout << "NO" << ' ';
		cout << endl;
		a++;
		b += 2;
	}
}
```

0 comments

No comments so far...

Information

ID
8
Time
1000ms
Memory
256MiB
Difficulty
9
Tags
(None)
# Submissions
6
Accepted
4
Uploaded By