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_33294284_2235.cpp:5:2: error: stray '#' in program
  int t;
  ^
0_0_33294284_2235.cpp:6:2: error: stray '#' in program
  scanf("%d",&t);
  ^
0_0_33294284_2235.cpp:7:2: error: stray '#' in program
  while(t--)
  ^
0_0_33294284_2235.cpp:8:2: error: stray '#' in program
  {
  ^
0_0_33294284_2235.cpp:9:2: error: stray '#' in program
   __int64 n,s;
  ^
0_0_33294284_2235.cpp:9:8: error: stray '#' in program
   __int64 n,s;
        ^
0_0_33294284_2235.cpp:10:2: error: stray '#' in program
   double m;
  ^
0_0_33294284_2235.cpp:10:8: error: stray '#' in program
   double m;
        ^
0_0_33294284_2235.cpp:11:2: error: stray '#' in program
   scanf("%I64d",&n);
  ^
0_0_33294284_2235.cpp:11:8: error: stray '#' in program
   scanf("%I64d",&n);
        ^
0_0_33294284_2235.cpp:12:2: error: stray '#' in program
   m=n*log10(n+0.0);
  ^
0_0_33294284_2235.cpp:12:8: error: stray '#' in program
   m=n*log10(n+0.0);
        ^
0_0_33294284_2235.cpp:13:2: error: stray '#' in program
   m-=(__int64)m;
  ^
0_0_33294284_2235.cpp:13:8: error: stray '#' in program
   m-=(__int64)m;
        ^
0_0_33294284_2235.cpp:14:2: error: stray '#' in program
   s=(__int64)pow(10,m);
  ^
0_0_33294284_2235.cpp:14:8: error: stray '#' in program
   s=(__int64)pow(10,m);
        ^
0_0_33294284_2235.cpp:15:2: error: stray '#' in program
   printf("%I64d\n",s);
  ^
0_0_33294284_2235.cpp:15:8: error: stray '#' in program
   printf("%I64d\n",s);
        ^
0_0_33294284_2235.cpp:16:2: error: stray '#' in program
  }
  ^
0_0_33294284_2235.cpp:17:2: error: stray '#' in program
  return 0;
  ^
0_0_33294284_2235.cpp: In function 'int main()':
0_0_33294284_2235.cpp:5:3: error: lvalue required as unary '&' operand
  int t;
   ^
0_0_33294284_2235.cpp:6:3: error: lvalue required as unary '&' operand
  scanf("%d",&t);
   ^
0_0_33294284_2235.cpp:7:3: error: lvalue required as unary '&' operand
  while(t--)
   ^
0_0_33294284_2235.cpp:8:3: error: lvalue required as unary '&' operand
  {
   ^
0_0_33294284_2235.cpp:9:3: error: lvalue required as unary '&' operand
   __int64 n,s;
   ^
0_0_33294284_2235.cpp:9:9: error: lvalue required as unary '&' operand
   __int64 n,s;
         ^
0_0_33294284_2235.cpp:10:3: error: lvalue required as unary '&' operand
   double m;
   ^
0_0_33294284_2235.cpp:10:9: error: lvalue required as unary '&' operand
   double m;
         ^
0_0_33294284_2235.cpp:11:3: error: lvalue required as unary '&' operand
   scanf("%I64d",&n);
   ^
0_0_33294284_2235.cpp:11:9: error: lvalue required as unary '&' operand
   scanf("%I64d",&n);
         ^
0_0_33294284_2235.cpp:12:3: error: lvalue required as unary '&' operand
   m=n*log10(n+0.0);
   ^
0_0_33294284_2235.cpp:12:9: error: lvalue required as unary '&' operand
   m=n*log10(n+0.0);
         ^
0_0_33294284_2235.cpp:13:3: error: lvalue required as unary '&' operand
   m-=(__int64)m;
   ^
0_0_33294284_2235.cpp:13:9: error: lvalue required as unary '&' operand
   m-=(__int64)m;
         ^
0_0_33294284_2235.cpp:14:3: error: lvalue required as unary '&' operand
   s=(__int64)pow(10,m);
   ^
0_0_33294284_2235.cpp:14:9: error: lvalue required as unary '&' operand
   s=(__int64)pow(10,m);
         ^
0_0_33294284_2235.cpp:15:3: error: lvalue required as unary '&' operand
   printf("%I64d\n",s);
   ^
0_0_33294284_2235.cpp:15:9: error: lvalue required as unary '&' operand
   printf("%I64d\n",s);
         ^
0_0_33294284_2235.cpp:16:3: error: lvalue required as unary '&' operand
  }
   ^
0_0_33294284_2235.cpp:17:3: error: lvalue required as unary '&' operand
  return 0;
   ^


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-07-06 05:43:21, Gzip enabled