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_33005577_14925.cpp:7:2: error: stray '#' in program
        cin>>n;
  ^
0_0_33005577_14925.cpp:7:9: error: stray '#' in program
        cin>>n;
         ^
0_0_33005577_14925.cpp:7:16: error: stray '#' in program
        cin>>n;
                ^
0_0_33005577_14925.cpp:7:23: error: stray '#' in program
        cin>>n;
                       ^
0_0_33005577_14925.cpp:8:2: error: stray '#' in program
        getchar();
  ^
0_0_33005577_14925.cpp:8:9: error: stray '#' in program
        getchar();
         ^
0_0_33005577_14925.cpp:8:16: error: stray '#' in program
        getchar();
                ^
0_0_33005577_14925.cpp:8:23: error: stray '#' in program
        getchar();
                       ^
0_0_33005577_14925.cpp:10:2: error: stray '#' in program
    {
  ^
0_0_33005577_14925.cpp:10:9: error: stray '#' in program
    {
         ^
0_0_33005577_14925.cpp:11:2: error: stray '#' in program
     s=0;
  ^
0_0_33005577_14925.cpp:11:9: error: stray '#' in program
     s=0;
         ^
0_0_33005577_14925.cpp:12:2: error: stray '#' in program
     while((x=getchar())!='\n')
  ^
0_0_33005577_14925.cpp:12:9: error: stray '#' in program
     while((x=getchar())!='\n')
         ^
0_0_33005577_14925.cpp:13:2: error: stray '#' in program
     if(x>='0'&&x<='9')
  ^
0_0_33005577_14925.cpp:13:9: error: stray '#' in program
     if(x>='0'&&x<='9')
         ^
0_0_33005577_14925.cpp:14:2: error: stray '#' in program
     s++;
  ^
0_0_33005577_14925.cpp:14:9: error: stray '#' in program
     s++;
         ^
0_0_33005577_14925.cpp:15:2: error: stray '#' in program
     cout<<s<<endl;
  ^
0_0_33005577_14925.cpp:15:9: error: stray '#' in program
     cout<<s<<endl;
         ^
0_0_33005577_14925.cpp:16:2: error: stray '#' in program
    }
  ^
0_0_33005577_14925.cpp:16:9: error: stray '#' in program
    }
         ^
0_0_33005577_14925.cpp:18:3: error: stray '#' in program
 } 
   ^
0_0_33005577_14925.cpp: In function 'int main()':
0_0_33005577_14925.cpp:7:3: error: lvalue required as unary '&' operand
        cin>>n;
   ^
0_0_33005577_14925.cpp:7:10: error: lvalue required as unary '&' operand
        cin>>n;
          ^
0_0_33005577_14925.cpp:7:17: error: lvalue required as unary '&' operand
        cin>>n;
                 ^
0_0_33005577_14925.cpp:7:24: error: lvalue required as unary '&' operand
        cin>>n;
                        ^
0_0_33005577_14925.cpp:8:3: error: lvalue required as unary '&' operand
        getchar();
   ^
0_0_33005577_14925.cpp:8:10: error: lvalue required as unary '&' operand
        getchar();
          ^
0_0_33005577_14925.cpp:8:17: error: lvalue required as unary '&' operand
        getchar();
                 ^
0_0_33005577_14925.cpp:8:24: error: lvalue required as unary '&' operand
        getchar();
                        ^
0_0_33005577_14925.cpp:10:3: error: lvalue required as unary '&' operand
    {
   ^
0_0_33005577_14925.cpp:10:10: error: lvalue required as unary '&' operand
    {
          ^
0_0_33005577_14925.cpp:11:3: error: lvalue required as unary '&' operand
     s=0;
   ^
0_0_33005577_14925.cpp:11:10: error: lvalue required as unary '&' operand
     s=0;
          ^
0_0_33005577_14925.cpp:12:3: error: lvalue required as unary '&' operand
     while((x=getchar())!='\n')
   ^
0_0_33005577_14925.cpp:12:10: error: lvalue required as unary '&' operand
     while((x=getchar())!='\n')
          ^
0_0_33005577_14925.cpp:13:3: error: lvalue required as unary '&' operand
     if(x>='0'&&x<='9')
   ^
0_0_33005577_14925.cpp:13:10: error: lvalue required as unary '&' operand
     if(x>='0'&&x<='9')
          ^
0_0_33005577_14925.cpp:14:3: error: lvalue required as unary '&' operand
     s++;
   ^
0_0_33005577_14925.cpp:14:10: error: lvalue required as unary '&' operand
     s++;
          ^
0_0_33005577_14925.cpp:15:3: error: lvalue required as unary '&' operand
     cout<<s<<endl;
   ^
0_0_33005577_14925.cpp:15:10: error: lvalue required as unary '&' operand
     cout<<s<<endl;
          ^
0_0_33005577_14925.cpp:16:3: error: lvalue required as unary '&' operand
    }
   ^
0_0_33005577_14925.cpp:16:10: error: lvalue required as unary '&' operand
    }
          ^
0_0_33005577_14925.cpp: At global scope:
0_0_33005577_14925.cpp:18:4: error: expected unqualified-id before numeric constant
 } 
    ^
0_0_33005577_14925.cpp:18:4: error: expected constructor, destructor, or type conversion before numeric constant


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-15 06:26:47, Gzip enabled