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_23242396_14390.cpp: In function 'int main()':
0_0_23242396_14390.cpp:95:1: error: expected primary-expression before '?' token
 ??? //freopen("NumberPyramids.in","r",stdin);
 ^
0_0_23242396_14390.cpp:95:2: error: expected primary-expression before '?' token
 ??? //freopen("NumberPyramids.in","r",stdin);
  ^
0_0_23242396_14390.cpp:95:3: error: expected primary-expression before '?' token
 ??? //freopen("NumberPyramids.in","r",stdin);
   ^
0_0_23242396_14390.cpp:97:1: error: expected primary-expression before '?' token
 ??? //freopen("NumberPyramids.out","w",stdout);
 ^
0_0_23242396_14390.cpp:97:2: error: expected primary-expression before '?' token
 ??? //freopen("NumberPyramids.out","w",stdout);
  ^
0_0_23242396_14390.cpp:97:3: error: expected primary-expression before '?' token
 ??? //freopen("NumberPyramids.out","w",stdout);
   ^
0_0_23242396_14390.cpp:99:1: error: expected primary-expression before '?' token
 ??? int n,m;
 ^
0_0_23242396_14390.cpp:99:2: error: expected primary-expression before '?' token
 ??? int n,m;
  ^
0_0_23242396_14390.cpp:99:3: error: expected primary-expression before '?' token
 ??? int n,m;
   ^
0_0_23242396_14390.cpp:99:5: error: expected primary-expression before 'int'
 ??? int n,m;
     ^
0_0_23242396_14390.cpp:99:5: error: expected ':' before 'int'
0_0_23242396_14390.cpp:99:5: error: expected primary-expression before 'int'
0_0_23242396_14390.cpp:99:5: error: expected ':' before 'int'
0_0_23242396_14390.cpp:99:5: error: expected primary-expression before 'int'
0_0_23242396_14390.cpp:99:5: error: expected ':' before 'int'
0_0_23242396_14390.cpp:99:5: error: expected primary-expression before 'int'
0_0_23242396_14390.cpp:99:5: error: expected ':' before 'int'
0_0_23242396_14390.cpp:99:5: error: expected primary-expression before 'int'
0_0_23242396_14390.cpp:99:5: error: expected ':' before 'int'
0_0_23242396_14390.cpp:99:5: error: expected primary-expression before 'int'
0_0_23242396_14390.cpp:99:5: error: expected ':' before 'int'
0_0_23242396_14390.cpp:99:5: error: expected primary-expression before 'int'
0_0_23242396_14390.cpp:99:5: error: expected ':' before 'int'
0_0_23242396_14390.cpp:99:5: error: expected primary-expression before 'int'
0_0_23242396_14390.cpp:99:5: error: expected ':' before 'int'
0_0_23242396_14390.cpp:99:5: error: expected primary-expression before 'int'
0_0_23242396_14390.cpp:99:5: error: expected ':' before 'int'
0_0_23242396_14390.cpp:99:5: error: expected primary-expression before 'int'
0_0_23242396_14390.cpp:101:1: error: expected primary-expression before '?' token
 ??? cin>>n>>m;
 ^
0_0_23242396_14390.cpp:101:2: error: expected primary-expression before '?' token
 ??? cin>>n>>m;
  ^
0_0_23242396_14390.cpp:101:3: error: expected primary-expression before '?' token
 ??? cin>>n>>m;
   ^
0_0_23242396_14390.cpp:101:10: error: 'n' was not declared in this scope
 ??? cin>>n>>m;
          ^
0_0_23242396_14390.cpp:101:13: error: 'm' was not declared in this scope
 ??? cin>>n>>m;
             ^
0_0_23242396_14390.cpp:101:14: error: expected ':' before ';' token
 ??? cin>>n>>m;
              ^
0_0_23242396_14390.cpp:101:14: error: expected primary-expression before ';' token
0_0_23242396_14390.cpp:101:14: error: expected ':' before ';' token
0_0_23242396_14390.cpp:101:14: error: expected primary-expression before ';' token
0_0_23242396_14390.cpp:101:14: error: expected ':' before ';' token
0_0_23242396_14390.cpp:101:14: error: expected primary-expression before ';' token
0_0_23242396_14390.cpp:103:1: error: expected primary-expression before '?' token
 ??? if (n>30 || two(n-1)>m){puts("0"); return 0;}
 ^
0_0_23242396_14390.cpp:103:2: error: expected primary-expression before '?' token
 ??? if (n>30 || two(n-1)>m){puts("0"); return 0;}
  ^
0_0_23242396_14390.cpp:103:3: error: expected primary-expression before '?' token
 ??? if (n>30 || two(n-1)>m){puts("0"); return 0;}
   ^
0_0_23242396_14390.cpp:103:5: error: expected primary-expression before 'if'
 ??? if (n>30 || two(n-1)>m){puts("0"); return 0;}
     ^
0_0_23242396_14390.cpp:103:5: error: expected ':' before 'if'
0_0_23242396_14390.cpp:103:5: error: expected primary-expression before 'if'
0_0_23242396_14390.cpp:103:5: error: expected ':' before 'if'
0_0_23242396_14390.cpp:103:5: error: expected primary-expression before 'if'
0_0_23242396_14390.cpp:103:5: error: expected ':' before 'if'
0_0_23242396_14390.cpp:103:5: error: expected primary-expression before 'if'
0_0_23242396_14390.cpp:105:1: error: expected primary-expression before '?' token
 ??? b[1][1]=1;
 ^
0_0_23242396_14390.cpp:105:2: error: expected primary-expression before '?' token
 ??? b[1][1]=1;
  ^
0_0_23242396_14390.cpp:105:3: error: expected primary-expression before '?' token
 ??? b[1][1]=1;
   ^
0_0_23242396_14390.cpp:105:14: error: expected ':' before ';' token
 ??? b[1][1]=1;
              ^
0_0_23242396_14390.cpp:105:14: error: expected primary-expression before ';' token
0_0_23242396_14390.cpp:105:14: error: expected ':' before ';' token
0_0_23242396_14390.cpp:105:14: error: expected primary-expression before ';' token
0_0_23242396_14390.cpp:105:14: error: expected ':' before ';' token
0_0_23242396_14390.cpp:105:14: error: expected primary-expression before ';' token
0_0_23242396_14390.cpp:107:1: error: expected primary-expression before '?' token
 ??? for (int i=2;i<=n;i++)
 ^
0_0_23242396_14390.cpp:107:2: error: expected primary-expression before '?' token
 ??? for (int i=2;i<=n;i++)
  ^
0_0_23242396_14390.cpp:107:3: error: expected primary-expression before '?' token
 ??? for (int i=2;i<=n;i++)
   ^
0_0_23242396_14390.cpp:107:5: error: expected primary-expression before 'for'
 ??? for (int i=2;i<=n;i++)
     ^
0_0_23242396_14390.cpp:107:5: error: expected ':' before 'for'
0_0_23242396_14390.cpp:107:5: error: expected primary-expression before 'for'
0_0_23242396_14390.cpp:107:5: error: expected ':' before 'for'
0_0_23242396_14390.cpp:107:5: error: expected primary-expression before 'for'
0_0_23242396_14390.cpp:107:5: error: expected ':' before 'for'
0_0_23242396_14390.cpp:107:5: error: expected primary-expression before 'for'
0_0_23242396_14390.cpp:107:18: error: 'i' was not declared in this scope
 ??? for (int i=2;i<=n;i++)
                  ^
0_0_23242396_14390.cpp:109:18: error: 'j' was not declared in this scope
 ??? for (int j=1;j<=i;j++)
                  ^
0_0_23242396_14390.cpp:113:1: error: expected primary-expression before '?' token
 ??? for (int i=1;i<=n;i++) a[i]=b[n][i];
 ^
0_0_23242396_14390.cpp:113:2: error: expected primary-expression before '?' token
 ??? for (int i=1;i<=n;i++) a[i]=b[n][i];
  ^
0_0_23242396_14390.cpp:113:3: error: expected primary-expression before '?' token
 ??? for (int i=1;i<=n;i++) a[i]=b[n][i];
   ^
0_0_23242396_14390.cpp:113:5: error: expected primary-expression before 'for'
 ??? for (int i=1;i<=n;i++) a[i]=b[n][i];
     ^
0_0_23242396_14390.cpp:113:5: error: expected ':' before 'for'
0_0_23242396_14390.cpp:113:5: error: expected primary-expression before 'for'
0_0_23242396_14390.cpp:113:5: error: expected ':' before 'for'
0_0_23242396_14390.cpp:113:5: error: expected primary-expression before 'for'
0_0_23242396_14390.cpp:113:5: error: expected ':' before 'for'
0_0_23242396_14390.cpp:113:5: error: expected primary-expression before 'for'
0_0_23242396_14390.cpp:115:1: error: expected primary-expression before '?' token
 ??? m-=two(n-1);
 ^
0_0_23242396_14390.cpp:115:2: error: expected primary-expression before '?' token
 ??? m-=two(n-1);
  ^
0_0_23242396_14390.cpp:115:3: error: expected primary-expression before '?' token
 ??? m-=two(n-1);
   ^
0_0_23242396_14390.cpp:115:16: error: expected ':' before ';' token
 ??? m-=two(n-1);
                ^
0_0_23242396_14390.cpp:115:16: error: expected primary-expression before ';' token
0_0_23242396_14390.cpp:115:16: error: expected ':' before ';' token
0_0_23242396_14390.cpp:115:16: error: expected primary-expression before ';' token
0_0_23242396_14390.cpp:115:16: error: expected ':' before ';' token
0_0_23242396_14390.cpp:115:16: error: expected primary-expression before ';' token
0_0_23242396_14390.cpp:117:1: error: expected primary-expression before '?' token
 ??? f[0]=1;
 ^
0_0_23242396_14390.cpp:117:2: error: expected primary-expression before '?' token
 ??? f[0]=1;
  ^
0_0_23242396_14390.cpp:117:3: error: expected primary-expression before '?' token
 ??? f[0]=1;
   ^
0_0_23242396_14390.cpp:117:11: error: expected ':' before ';' token
 ??? f[0]=1;
           ^
0_0_23242396_14390.cpp:117:11: error: expected primary-expression before ';' token
0_0_23242396_14390.cpp:117:11: error: expected ':' before ';' token
0_0_23242396_14390.cpp:117:11: error: expected primary-expression before ';' token
0_0_23242396_14390.cpp:117:11: error: expected ':' before ';' token
0_0_23242396_14390.cpp:117:11: error: expected primary-expression before ';' token
0_0_23242396_14390.cpp:119:1: error: expected primary-expression before '?' token
 ??? for (int i=1;i<=n;i++)
 ^
0_0_23242396_14390.cpp:119:2: error: expected primary-expression before '?' token
 ??? for (int i=1;i<=n;i++)
  ^
0_0_23242396_14390.cpp:119:3: error: expected primary-expression before '?' token
 ??? for (int i=1;i<=n;i++)
   ^
0_0_232


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-26 11:57:27, Gzip enabled