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_38588168_8594.cpp:14:18: error: expected primary-expression before ';' token
 const int maxn = ;
                  ^
0_0_38588168_8594.cpp:16:17: error: size of array 'G' is not an integral constant-expression
 int G[maxn][maxn], F[maxn*maxn] = {,,,};
                 ^
0_0_38588168_8594.cpp:16:17: error: size of array 'G' is not an integral constant-expression
0_0_38588168_8594.cpp:16:36: error: expected primary-expression before ',' token
 int G[maxn][maxn], F[maxn*maxn] = {,,,};
                                    ^
0_0_38588168_8594.cpp:16:37: error: expected primary-expression before ',' token
 int G[maxn][maxn], F[maxn*maxn] = {,,,};
                                     ^
0_0_38588168_8594.cpp:16:38: error: expected primary-expression before ',' token
 int G[maxn][maxn], F[maxn*maxn] = {,,,};
                                      ^
0_0_38588168_8594.cpp: In function 'int main()':
0_0_38588168_8594.cpp:20:13: error: expected primary-expression before ',' token
     int k = , n;
             ^
0_0_38588168_8594.cpp:21:7: error: expected primary-expression before ']' token
     G[][] = k++;
       ^
0_0_38588168_8594.cpp:21:9: error: expected primary-expression before ']' token
     G[][] = k++;
         ^
0_0_38588168_8594.cpp:23:15: error: expected primary-expression before ';' token
     for(int i=; i<maxn*maxn; i++)
               ^
0_0_38588168_8594.cpp:25:9: error: 'F' was not declared in this scope
         F[i] = (F[i-]-(i-)*(i-)*(i-) + i*i*i)%;
         ^
0_0_38588168_8594.cpp:25:21: error: expected primary-expression before ']' token
         F[i] = (F[i-]-(i-)*(i-)*(i-) + i*i*i)%;
                     ^
0_0_38588168_8594.cpp:25:26: error: expected primary-expression before ')' token
         F[i] = (F[i-]-(i-)*(i-)*(i-) + i*i*i)%;
                          ^
0_0_38588168_8594.cpp:25:31: error: expected primary-expression before ')' token
         F[i] = (F[i-]-(i-)*(i-)*(i-) + i*i*i)%;
                               ^
0_0_38588168_8594.cpp:25:36: error: expected primary-expression before ')' token
         F[i] = (F[i-]-(i-)*(i-)*(i-) + i*i*i)%;
                                    ^
0_0_38588168_8594.cpp:25:47: error: expected primary-expression before ';' token
         F[i] = (F[i-]-(i-)*(i-)*(i-) + i*i*i)%;
                                               ^
0_0_38588168_8594.cpp:27:16: error: expected primary-expression before ']' token
         if(G[i%][F[i-]])///??n?f[n-2]?????????????????
                ^
0_0_38588168_8594.cpp:27:22: error: expected primary-expression before ']' token
         if(G[i%][F[i-]])///??n?f[n-2]?????????????????
                      ^
0_0_38588168_8594.cpp:33:13: error: expected primary-expression before ']' token
         G[i%][F[i-]] = k++;
             ^
0_0_38588168_8594.cpp:33:19: error: expected primary-expression before ']' token
         G[i%][F[i-]] = k++;
                   ^
0_0_38588168_8594.cpp:36:24: error: 'n' was not declared in this scope
     while(scanf("%d", &n), n)
                        ^
0_0_38588168_8594.cpp:38:24: error: 'F' was not declared in this scope
         printf("%d\n", F[n%]);
                        ^
0_0_38588168_8594.cpp:38:28: error: expected primary-expression before ']' token
         printf("%d\n", F[n%]);
                            ^
0_0_38588168_8594.cpp:40:5: error: return-statement with no value, in function returning 'int' [-fpermissive]
     return ;
     ^~~~~~
0_0_38588168_8594.cpp:40:12: error: expected '}' at end of input
     return ;
            ^
0_0_38588168_8594.cpp:19:1: note: to match this '{'
 {
 ^


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-23 03:44:16, Gzip enabled