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_22226447_14767.cpp: In function 'int main()':
0_0_22226447_14767.cpp:26:21: error: expected primary-expression before ')' token
          int m=n*(n-)/;
                     ^
0_0_22226447_14767.cpp:26:23: error: expected primary-expression before ';' token
          int m=n*(n-)/;
                       ^
0_0_22226447_14767.cpp:29:20: error: expected primary-expression before ';' token
          for(int i=;i<=m;i++)scanf("%d",&sum[i]);
                    ^
0_0_22226447_14767.cpp:30:19: error: expected primary-expression before ',' token
          sort(sum+,sum+m+);
                   ^
0_0_22226447_14767.cpp:30:26: error: expected primary-expression before ')' token
          sort(sum+,sum+m+);
                          ^
0_0_22226447_14767.cpp:31:20: error: expected primary-expression before ';' token
          for(int i=;i<=m;i++){
                    ^
0_0_22226447_14767.cpp:36:18: error: expected primary-expression before ']' token
              num[]=(sum[]-sum[]+sum[i])/;
                  ^
0_0_22226447_14767.cpp:36:25: error: expected primary-expression before ']' token
              num[]=(sum[]-sum[]+sum[i])/;
                         ^
0_0_22226447_14767.cpp:36:31: error: expected primary-expression before ']' token
              num[]=(sum[]-sum[]+sum[i])/;
                               ^
0_0_22226447_14767.cpp:36:41: error: expected primary-expression before ';' token
              num[]=(sum[]-sum[]+sum[i])/;
                                         ^
0_0_22226447_14767.cpp:37:18: error: expected primary-expression before ']' token
              num[]=sum[]-num[];
                  ^
0_0_22226447_14767.cpp:37:24: error: expected primary-expression before ']' token
              num[]=sum[]-num[];
                        ^
0_0_22226447_14767.cpp:37:30: error: expected primary-expression before ']' token
              num[]=sum[]-num[];
                              ^
0_0_22226447_14767.cpp:38:18: error: expected primary-expression before ']' token
              num[]=sum[]-num[];
                  ^
0_0_22226447_14767.cpp:38:24: error: expected primary-expression before ']' token
              num[]=sum[]-num[];
                        ^
0_0_22226447_14767.cpp:38:30: error: expected primary-expression before ']' token
              num[]=sum[]-num[];
                              ^
0_0_22226447_14767.cpp:39:21: error: expected primary-expression before ']' token
              if(num[]+num[]!=sum[i])continue;
                     ^
0_0_22226447_14767.cpp:39:27: error: expected primary-expression before ']' token
              if(num[]+num[]!=sum[i])continue;
                           ^
0_0_22226447_14767.cpp:43:20: error: expected primary-expression before ';' token
              int k=;//从第三个开始排?
                    ^
0_0_22226447_14767.cpp:46:24: error: expected primary-expression before ';' token
              for(int j=;j<=n&&flag;j++){
                        ^
0_0_22226447_14767.cpp:48:36: error: expected primary-expression before ']' token
                  num[j]=sum[k]-num[];
                                    ^
0_0_22226447_14767.cpp:52:28: error: expected primary-expression before ';' token
                  for(int l=;l<j&&flag;l++){
                            ^
0_0_22226447_14767.cpp:54:34: error: expected primary-expression before ';' token
                      for(int x=k+;x<=m;x++){
                                  ^
0_0_22226447_14767.cpp:66:20: error: expected primary-expression before ';' token
          for(int i=;i<n;i++){
                    ^


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.000000(s) query 1, Server time : 2025-01-08 05:16:34, Gzip enabled