F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_34737931_20293.cpp:16:2: error: stray '#' in program
     int C,N;
  ^
0_0_34737931_20293.cpp:16:8: error: stray '#' in program
     int C,N;
        ^
0_0_34737931_20293.cpp:16:14: error: stray '#' in program
     int C,N;
              ^
0_0_34737931_20293.cpp:16:20: error: stray '#' in program
     int C,N;
                    ^
0_0_34737931_20293.cpp:17:2: error: stray '#' in program
     memset(step, 0, sizeof(step));
  ^
0_0_34737931_20293.cpp:17:8: error: stray '#' in program
     memset(step, 0, sizeof(step));
        ^
0_0_34737931_20293.cpp:17:14: error: stray '#' in program
     memset(step, 0, sizeof(step));
              ^
0_0_34737931_20293.cpp:17:20: error: stray '#' in program
     memset(step, 0, sizeof(step));
                    ^
0_0_34737931_20293.cpp:18:2: error: stray '#' in program
     step[1] = 3;
  ^
0_0_34737931_20293.cpp:18:8: error: stray '#' in program
     step[1] = 3;
        ^
0_0_34737931_20293.cpp:18:14: error: stray '#' in program
     step[1] = 3;
              ^
0_0_34737931_20293.cpp:18:20: error: stray '#' in program
     step[1] = 3;
                    ^
0_0_34737931_20293.cpp:19:2: error: stray '#' in program
     step[2] = 7;
  ^
0_0_34737931_20293.cpp:19:8: error: stray '#' in program
     step[2] = 7;
        ^
0_0_34737931_20293.cpp:19:14: error: stray '#' in program
     step[2] = 7;
              ^
0_0_34737931_20293.cpp:19:20: error: stray '#' in program
     step[2] = 7;
                    ^
0_0_34737931_20293.cpp:20:2: error: stray '#' in program
     for (int i = 3; i < 21; i++) {
  ^
0_0_34737931_20293.cpp:20:8: error: stray '#' in program
     for (int i = 3; i < 21; i++) {
        ^
0_0_34737931_20293.cpp:20:14: error: stray '#' in program
     for (int i = 3; i < 21; i++) {
              ^
0_0_34737931_20293.cpp:20:20: error: stray '#' in program
     for (int i = 3; i < 21; i++) {
                    ^
0_0_34737931_20293.cpp:21:2: error: stray '#' in program
         step[i] = 2*step[i-1}+ step[i-2];
  ^
0_0_34737931_20293.cpp:21:8: error: stray '#' in program
         step[i] = 2*step[i-1}+ step[i-2];
        ^
0_0_34737931_20293.cpp:21:14: error: stray '#' in program
         step[i] = 2*step[i-1}+ step[i-2];
              ^
0_0_34737931_20293.cpp:21:20: error: stray '#' in program
         step[i] = 2*step[i-1}+ step[i-2];
                    ^
0_0_34737931_20293.cpp:21:26: error: stray '#' in program
         step[i] = 2*step[i-1}+ step[i-2];
                          ^
0_0_34737931_20293.cpp:21:32: error: stray '#' in program
         step[i] = 2*step[i-1}+ step[i-2];
                                ^
0_0_34737931_20293.cpp:21:38: error: stray '#' in program
         step[i] = 2*step[i-1}+ step[i-2];
                                      ^
0_0_34737931_20293.cpp:21:44: error: stray '#' in program
         step[i] = 2*step[i-1}+ step[i-2];
                                            ^
0_0_34737931_20293.cpp:22:2: error: stray '#' in program
     }
  ^
0_0_34737931_20293.cpp:22:8: error: stray '#' in program
     }
        ^
0_0_34737931_20293.cpp:22:14: error: stray '#' in program
     }
              ^
0_0_34737931_20293.cpp:22:20: error: stray '#' in program
     }
                    ^
0_0_34737931_20293.cpp:23:2: error: stray '#' in program
     scanf("%d", &C);
  ^
0_0_34737931_20293.cpp:23:8: error: stray '#' in program
     scanf("%d", &C);
        ^
0_0_34737931_20293.cpp:23:14: error: stray '#' in program
     scanf("%d", &C);
              ^
0_0_34737931_20293.cpp:23:20: error: stray '#' in program
     scanf("%d", &C);
                    ^
0_0_34737931_20293.cpp:24:2: error: stray '#' in program
     while (C--) {
  ^
0_0_34737931_20293.cpp:24:8: error: stray '#' in program
     while (C--) {
        ^
0_0_34737931_20293.cpp:24:14: error: stray '#' in program
     while (C--) {
              ^
0_0_34737931_20293.cpp:24:20: error: stray '#' in program
     while (C--) {
                    ^
0_0_34737931_20293.cpp:25:2: error: stray '#' in program
         scanf("%d", &N);
  ^
0_0_34737931_20293.cpp:25:8: error: stray '#' in program
         scanf("%d", &N);
        ^
0_0_34737931_20293.cpp:25:14: error: stray '#' in program
         scanf("%d", &N);
              ^
0_0_34737931_20293.cpp:25:20: error: stray '#' in program
         scanf("%d", &N);
                    ^
0_0_34737931_20293.cpp:25:26: error: stray '#' in program
         scanf("%d", &N);
                          ^
0_0_34737931_20293.cpp:25:32: error: stray '#' in program
         scanf("%d", &N);
                                ^
0_0_34737931_20293.cpp:25:38: error: stray '#' in program
         scanf("%d", &N);
                                      ^
0_0_34737931_20293.cpp:25:44: error: stray '#' in program
         scanf("%d", &N);
                                            ^
0_0_34737931_20293.cpp:26:2: error: stray '#' in program
         printf("%lld\n", step[N]);
  ^
0_0_34737931_20293.cpp:26:8: error: stray '#' in program
         printf("%lld\n", step[N]);
        ^
0_0_34737931_20293.cpp:26:14: error: stray '#' in program
         printf("%lld\n", step[N]);
              ^
0_0_34737931_20293.cpp:26:20: error: stray '#' in program
         printf("%lld\n", step[N]);
                    ^
0_0_34737931_20293.cpp:26:26: error: stray '#' in program
         printf("%lld\n", step[N]);
                          ^
0_0_34737931_20293.cpp:26:32: error: stray '#' in program
         printf("%lld\n", step[N]);
                                ^
0_0_34737931_20293.cpp:26:38: error: stray '#' in program
         printf("%lld\n", step[N]);
                                      ^
0_0_34737931_20293.cpp:26:44: error: stray '#' in program
         printf("%lld\n", step[N]);
                                            ^
0_0_34737931_20293.cpp:27:2: error: stray '#' in program
     }
  ^
0_0_34737931_20293.cpp:27:8: error: stray '#' in program
     }
        ^
0_0_34737931_20293.cpp:27:14: error: stray '#' in program
     }
              ^
0_0_34737931_20293.cpp:27:20: error: stray '#' in program
     }
                    ^
0_0_34737931_20293.cpp:28:2: error: stray '#' in program
     return 0;
  ^
0_0_34737931_20293.cpp:28:8: error: stray '#' in program
     return 0;
        ^
0_0_34737931_20293.cpp:28:14: error: stray '#' in program
     return 0;
              ^
0_0_34737931_20293.cpp:28:20: error: stray '#' in program
     return 0;
                    ^
0_0_34737931_20293.cpp: In function 'int main()':
0_0_34737931_20293.cpp:16:3: error: lvalue required as unary '&' operand
     int C,N;
   ^
0_0_34737931_20293.cpp:16:9: error: lvalue required as unary '&' operand
     int C,N;
         ^
0_0_34737931_20293.cpp:16:15: error: lvalue required as unary '&' operand
     int C,N;
               ^
0_0_34737931_20293.cpp:16:21: error: lvalue required as unary '&' operand
     int C,N;
                     ^
0_0_34737931_20293.cpp:17:3: error: lvalue required as unary '&' operand
     memset(step, 0, sizeof(step));
   ^
0_0_34737931_20293.cpp:17:9: error: lvalue required as unary '&' operand
     memset(step, 0, sizeof(step));
         ^
0_0_34737931_20293.cpp:17:15: error: lvalue required as unary '&' operand
     memset(step, 0, sizeof(step));
               ^
0_0_34737931_20293.cpp:17:21: error: lvalue required as unary '&' operand
     memset(step, 0, sizeof(step));
                     ^
0_0_34737931_20293.cpp:18:3: error: lvalue required as unary '&' operand
     step[1] = 3;
   ^
0_0_34737931_20293.c


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-17 03:54:32, Gzip enabled