建设银行辽宁分行报名网站,怎么去创建一个公司,网站下载app连接怎么做,好看的logo图案// [7/23/2014 Sjm] /* 对于此题#xff0c;举出数据找规律#xff0c;即可AC。。。 不过悲催的WA了好多次#xff0c;后来发现竟把YES打印成Yes了。。。。 注释掉的代码是用来找规律的。。。 */ 1 #include iostream2 #include cs…// [7/23/2014 Sjm] /* 对于此题举出数据找规律即可AC。。。 不过悲催的WA了好多次后来发现竟把YES打印成Yes了。。。。 注释掉的代码是用来找规律的。。。 */ 1 #include iostream2 #include cstdlib3 #include cstdio4 using namespace std;5 int k, p;6 /*7 int myget(int x, int y)8 {9 int sum 1;
10 for (int i 0; i y; i) {
11 sum * x;
12 }
13 return sum;
14 }
15
16 void Panduan(int p)
17 {
18 for (int k 1; k 10; k) {
19 int sum 0;
20 for (int i 1; i p; i) {
21 sum myget(i, k);
22 }
23 printf(%d , sum%p);
24 }
25 }
26 */
27 int main()
28 {
29 /*
30 while (cin p) {
31 Panduan(p);
32 cout endl;
33 }
34 */
35
36 //freopen(input.txt, r, stdin);
37 //freopen(output.txt, w, stdout);
38 while (~scanf(%d %d, k, p)) {
39 int tep k / (p - 1);
40 if (0 tep % 2) {
41 printf(NO\n);
42 }
43 else {
44 printf(YES\n);
45 }
46 }
47 return 0;
48 } 转载于:https://www.cnblogs.com/shijianming/p/4140822.html