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_26848082_9272.cpp:9:2: error: stray '#' in program
    long long n,i,t;
  ^
0_0_26848082_9272.cpp:9:8: error: stray '#' in program
    long long n,i,t;
        ^
0_0_26848082_9272.cpp:11:2: error: stray '#' in program
    cin>>t;
  ^
0_0_26848082_9272.cpp:11:8: error: stray '#' in program
    cin>>t;
        ^
0_0_26848082_9272.cpp:13:2: error: stray '#' in program
    while(t--)
  ^
0_0_26848082_9272.cpp:13:8: error: stray '#' in program
    while(t--)
        ^
0_0_26848082_9272.cpp:15:2: error: stray '#' in program
    {
  ^
0_0_26848082_9272.cpp:15:8: error: stray '#' in program
    {
        ^
0_0_26848082_9272.cpp:17:2: error: stray '#' in program
     cin>>n;
  ^
0_0_26848082_9272.cpp:17:8: error: stray '#' in program
     cin>>n;
        ^
0_0_26848082_9272.cpp:17:14: error: stray '#' in program
     cin>>n;
              ^
0_0_26848082_9272.cpp:19:2: error: stray '#' in program
    for(i=1;i<n;i++)//求的是n终极落在Sn区间上,且Sn有n个数;
  ^
0_0_26848082_9272.cpp:19:8: error: stray '#' in program
    for(i=1;i<n;i++)//求的是n终极落在Sn区间上,且Sn有n个数;
        ^
0_0_26848082_9272.cpp:22:2: error: stray '#' in program
     n-=i;
  ^
0_0_26848082_9272.cpp:22:8: error: stray '#' in program
     n-=i;
        ^
0_0_26848082_9272.cpp:22:14: error: stray '#' in program
     n-=i;
              ^
0_0_26848082_9272.cpp:24:2: error: stray '#' in program
      n=n%9;//每9个轮回一次;
  ^
0_0_26848082_9272.cpp:24:8: error: stray '#' in program
      n=n%9;//每9个轮回一次;
        ^
0_0_26848082_9272.cpp:24:14: error: stray '#' in program
      n=n%9;//每9个轮回一次;
              ^
0_0_26848082_9272.cpp:24:20: error: stray '#' in program
      n=n%9;//每9个轮回一次;
                    ^
0_0_26848082_9272.cpp:26:2: error: stray '#' in program
    if(n)
  ^
0_0_26848082_9272.cpp:26:8: error: stray '#' in program
    if(n)
        ^
0_0_26848082_9272.cpp:28:2: error: stray '#' in program
     cout<<n<<endl;
  ^
0_0_26848082_9272.cpp:28:8: error: stray '#' in program
     cout<<n<<endl;
        ^
0_0_26848082_9272.cpp:28:14: error: stray '#' in program
     cout<<n<<endl;
              ^
0_0_26848082_9272.cpp:30:2: error: stray '#' in program
    else 
  ^
0_0_26848082_9272.cpp:30:8: error: stray '#' in program
    else 
        ^
0_0_26848082_9272.cpp:32:2: error: stray '#' in program
     cout<<9<<endl;
  ^
0_0_26848082_9272.cpp:32:8: error: stray '#' in program
     cout<<9<<endl;
        ^
0_0_26848082_9272.cpp:32:14: error: stray '#' in program
     cout<<9<<endl;
              ^
0_0_26848082_9272.cpp:34:2: error: stray '#' in program
    }
  ^
0_0_26848082_9272.cpp:34:8: error: stray '#' in program
    }
        ^
0_0_26848082_9272.cpp: In function 'int main()':
0_0_26848082_9272.cpp:9:3: error: lvalue required as unary '&' operand
    long long n,i,t;
   ^
0_0_26848082_9272.cpp:9:9: error: lvalue required as unary '&' operand
    long long n,i,t;
         ^
0_0_26848082_9272.cpp:11:3: error: lvalue required as unary '&' operand
    cin>>t;
   ^
0_0_26848082_9272.cpp:11:9: error: lvalue required as unary '&' operand
    cin>>t;
         ^
0_0_26848082_9272.cpp:13:3: error: lvalue required as unary '&' operand
    while(t--)
   ^
0_0_26848082_9272.cpp:13:9: error: lvalue required as unary '&' operand
    while(t--)
         ^
0_0_26848082_9272.cpp:15:3: error: lvalue required as unary '&' operand
    {
   ^
0_0_26848082_9272.cpp:15:9: error: lvalue required as unary '&' operand
    {
         ^
0_0_26848082_9272.cpp:17:3: error: lvalue required as unary '&' operand
     cin>>n;
   ^
0_0_26848082_9272.cpp:17:9: error: lvalue required as unary '&' operand
     cin>>n;
         ^
0_0_26848082_9272.cpp:17:15: error: lvalue required as unary '&' operand
     cin>>n;
               ^
0_0_26848082_9272.cpp:19:3: error: lvalue required as unary '&' operand
    for(i=1;i<n;i++)//求的是n终极落在Sn区间上,且Sn有n个数;
   ^
0_0_26848082_9272.cpp:19:9: error: lvalue required as unary '&' operand
    for(i=1;i<n;i++)//求的是n终极落在Sn区间上,且Sn有n个数;
         ^
0_0_26848082_9272.cpp:22:3: error: lvalue required as unary '&' operand
     n-=i;
   ^
0_0_26848082_9272.cpp:22:9: error: lvalue required as unary '&' operand
     n-=i;
         ^
0_0_26848082_9272.cpp:22:15: error: lvalue required as unary '&' operand
     n-=i;
               ^
0_0_26848082_9272.cpp:24:3: error: lvalue required as unary '&' operand
      n=n%9;//每9个轮回一次;
   ^
0_0_26848082_9272.cpp:24:9: error: lvalue required as unary '&' operand
      n=n%9;//每9个轮回一次;
         ^
0_0_26848082_9272.cpp:24:15: error: lvalue required as unary '&' operand
      n=n%9;//每9个轮回一次;
               ^
0_0_26848082_9272.cpp:24:21: error: lvalue required as unary '&' operand
      n=n%9;//每9个轮回一次;
                     ^
0_0_26848082_9272.cpp:26:3: error: lvalue required as unary '&' operand
    if(n)
   ^
0_0_26848082_9272.cpp:26:9: error: lvalue required as unary '&' operand
    if(n)
         ^
0_0_26848082_9272.cpp:28:3: error: lvalue required as unary '&' operand
     cout<<n<<endl;
   ^
0_0_26848082_9272.cpp:28:9: error: lvalue required as unary '&' operand
     cout<<n<<endl;
         ^
0_0_26848082_9272.cpp:28:15: error: lvalue required as unary '&' operand
     cout<<n<<endl;
               ^
0_0_26848082_9272.cpp:30:3: error: lvalue required as unary '&' operand
    else 
   ^
0_0_26848082_9272.cpp:30:9: error: lvalue required as unary '&' operand
    else 
         ^
0_0_26848082_9272.cpp:30:14: error: 'else' without a previous 'if'
    else 
              ^
0_0_26848082_9272.cpp:32:3: error: lvalue required as unary '&' operand
     cout<<9<<endl;
   ^
0_0_26848082_9272.cpp:32:9: error: lvalue required as unary '&' operand
     cout<<9<<endl;
         ^
0_0_26848082_9272.cpp:32:15: error: lvalue required as unary '&' operand
     cout<<9<<endl;
               ^
0_0_26848082_9272.cpp:34:3: error: lvalue required as unary '&' operand
    }
   ^
0_0_26848082_9272.cpp:34:9: error: lvalue required as unary '&' operand
    }
         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-28 00:52:39, Gzip enabled