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_26355871_10057.cpp: In function 'int main()':
0_0_26355871_10057.cpp:6:9: error: 'i' was not declared in this scope
     for(i=1;i<=1000;i++)
         ^
0_0_26355871_10057.cpp:7:10: error: 'j' was not declared in this scope
      for(j=1;j<=1000;j++)mp[i][j]=gcd(i,j);
          ^
0_0_26355871_10057.cpp:7:26: error: 'mp' was not declared in this scope
      for(j=1;j<=1000;j++)mp[i][j]=gcd(i,j);
                          ^
0_0_26355871_10057.cpp:8:25: error: 'n' was not declared in this scope
  while(~scanf("%d%d%d",&n,&m,&k)){
                         ^
0_0_26355871_10057.cpp:8:28: error: 'm' was not declared in this scope
  while(~scanf("%d%d%d",&n,&m,&k)){
                            ^
0_0_26355871_10057.cpp:8:31: error: 'k' was not declared in this scope
  while(~scanf("%d%d%d",&n,&m,&k)){
                               ^
0_0_26355871_10057.cpp:8:32: error: 'scanf' was not declared in this scope
  while(~scanf("%d%d%d",&n,&m,&k)){
                                ^
0_0_26355871_10057.cpp:9:3: error: 'n1' was not declared in this scope
   n1=0;
   ^
0_0_26355871_10057.cpp:10:10: error: 'g' was not declared in this scope
   memset(g,0,sizeof())
          ^
0_0_26355871_10057.cpp:10:21: error: expected primary-expression before ')' token
   memset(g,0,sizeof())
                     ^
0_0_26355871_10057.cpp:10:22: error: 'memset' was not declared in this scope
   memset(g,0,sizeof())
                      ^
0_0_26355871_10057.cpp:11:17: error: 'i' was not declared in this scope
         for(i=1;i<=m;i++)
                 ^
0_0_26355871_10057.cpp:16:13: error: 'f' was not declared in this scope
      memset(f[1],0,sizeof(f[1]));
             ^
0_0_26355871_10057.cpp:18:7: error: 'a' was not declared in this scope
    if(a[i]<=n)f[1][a[i]][a[i]]=1ll; 
       ^
0_0_26355871_10057.cpp:20:4: error: 'la' was not declared in this scope
    la=i%2;now=1-la;
    ^
0_0_26355871_10057.cpp:20:11: error: 'now' was not declared in this scope
    la=i%2;now=1-la;
           ^
0_0_26355871_10057.cpp:21:8: error: 'j' was not declared in this scope
    for(j=i;j<=n;j++){
        ^
0_0_26355871_10057.cpp:22:9: error: 'ii' was not declared in this scope
     for(ii=1;ii<=n1;ii++){
         ^
0_0_26355871_10057.cpp:23:10: error: 'jj' was not declared in this scope
      for(jj=1;jj<=n1;jj++)
          ^
0_0_26355871_10057.cpp:24:12: error: 'mp' was not declared in this scope
       if(g[mp[a[ii]][a[j]]])
            ^
0_0_26355871_10057.cpp:24:15: error: 'a' was not declared in this scope
       if(g[mp[a[ii]][a[j]]])
               ^
0_0_26355871_10057.cpp:30:29: error: 'printf' was not declared in this scope
   printf("%lld",f[k%2][n][m]);
                             ^


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 06:06:33, Gzip enabled