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_38283150_30862.cpp:46:21: error: exponent has no digits
  const double eps = 1e-;
                     ^
0_0_38283150_30862.cpp:47:19: error: expected primary-expression before ';' token
  const int maxn = ;
                   ^
0_0_38283150_30862.cpp:48:16: error: size of array 'nd' is not an integral constant-expression
  node_t nd[maxn];
                ^
0_0_38283150_30862.cpp: In function 'double calc(double)':
0_0_38283150_30862.cpp:30:39: error: expected primary-expression before ';' token
  #define rep(i, a, n)     for (int i=a;i<n;++i)
                                       ^
0_0_38283150_30862.cpp:54:6: note: in expansion of macro 'rep'
      rep(i, , n)
      ^
0_0_38283150_30862.cpp:55:38: error: expected primary-expression before ')' token
          ret += pow(fabs(x-nd[i].x), ) * nd[i].w;
                                      ^
0_0_38283150_30862.cpp: In function 'void solve()':
0_0_38283150_30862.cpp:30:39: error: expected primary-expression before ';' token
  #define rep(i, a, n)     for (int i=a;i<n;++i)
                                       ^
0_0_38283150_30862.cpp:66:6: note: in expansion of macro 'rep'
      rep(i, , n) {
      ^
0_0_38283150_30862.cpp:72:25: error: expected primary-expression before ';' token
          m1 = l + (r-l)/;
                         ^
0_0_38283150_30862.cpp:73:25: error: expected primary-expression before ';' token
          m2 = r - (r-l)/;
                         ^
0_0_38283150_30862.cpp: In function 'int main()':
0_0_38283150_30862.cpp:30:39: error: expected primary-expression before ';' token
  #define rep(i, a, n)     for (int i=a;i<n;++i)
                                       ^
0_0_38283150_30862.cpp:99:6: note: in expansion of macro 'rep'
      rep(tt, , t+) {
      ^
0_0_38283150_30862.cpp:30:43: error: expected primary-expression before ';' token
  #define rep(i, a, n)     for (int i=a;i<n;++i)
                                           ^
0_0_38283150_30862.cpp:99:6: note: in expansion of macro 'rep'
      rep(tt, , t+) {
      ^
0_0_38283150_30862.cpp:30:39: error: expected primary-expression before ';' token
  #define rep(i, a, n)     for (int i=a;i<n;++i)
                                       ^
0_0_38283150_30862.cpp:101:10: note: in expansion of macro 'rep'
          rep(i, , n)
          ^
0_0_38283150_30862.cpp:111:6: error: return-statement with no value, in function returning 'int' [-fpermissive]
      return ;
      ^


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 19:58:07, Gzip enabled