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_16394250_30259.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16394250_30259.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16394250_30259.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16394250_30259.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16394250_30259.cpp: In function 'int cal(int)':
0_0_16394250_30259.cpp:16:5: error: expected ';' before '{' token
     {
     ^
0_0_16394250_30259.cpp:16:5: error: expected primary-expression before '{' token
0_0_16394250_30259.cpp:16:5: error: expected ')' before '{' token
0_0_16394250_30259.cpp: In function 'int init(int)':
0_0_16394250_30259.cpp:23:30: error: 'sqrt' was not declared in this scope
     int s=(int)sqrt((double)n),t=0;
                              ^
0_0_16394250_30259.cpp:27:5: error: expected ';' before '{' token
     {
     ^
0_0_16394250_30259.cpp:27:5: error: expected primary-expression before '{' token
0_0_16394250_30259.cpp:27:5: error: expected ')' before '{' token
0_0_16394250_30259.cpp:28:27: error: 'scanf' was not declared in this scope
         scanf("%d",&num[i]);
                           ^
0_0_16394250_30259.cpp:29:15: error: 't' was not declared in this scope
         s=i/m;t=num[i];
               ^
0_0_16394250_30259.cpp:31:9: error: expected ';' before '{' token
         {
         ^
0_0_16394250_30259.cpp:31:9: error: expected primary-expression before '{' token
0_0_16394250_30259.cpp:31:9: error: expected ')' before '{' token
0_0_16394250_30259.cpp: In function 'void work(int, int, int)':
0_0_16394250_30259.cpp:44:21: error: 'scanf' was not declared in this scope
         scanf("%s",s);
                     ^
0_0_16394250_30259.cpp:50:13: error: expected ';' before '{' token
             {
             ^
0_0_16394250_30259.cpp:50:13: error: expected primary-expression before '{' token
0_0_16394250_30259.cpp:50:13: error: expected ')' before '{' token
0_0_16394250_30259.cpp:56:13: error: expected ';' before '{' token
             {
             ^
0_0_16394250_30259.cpp:56:13: error: expected primary-expression before '{' token
0_0_16394250_30259.cpp:56:13: error: expected ')' before '{' token
0_0_16394250_30259.cpp:70:17: error: expected ';' before 'if'
                 if(num[i]/td%10==p)
                 ^
0_0_16394250_30259.cpp:70:17: error: expected primary-expression before 'if'
0_0_16394250_30259.cpp:70:17: error: expected ')' before 'if'
0_0_16394250_30259.cpp:74:34: error: 'printf' was not declared in this scope
                 printf("%d\n",ans);
                                  ^
0_0_16394250_30259.cpp:79:17: error: expected ';' before '{' token
                 {
                 ^
0_0_16394250_30259.cpp:79:17: error: expected primary-expression before '{' token
0_0_16394250_30259.cpp:79:17: error: expected ')' before '{' token
0_0_16394250_30259.cpp:84:17: error: expected ';' before 'if'
                 if(num[i]/td%10==p)
                 ^
0_0_16394250_30259.cpp:84:17: error: expected primary-expression before 'if'
0_0_16394250_30259.cpp:84:17: error: expected ')' before 'if'
0_0_16394250_30259.cpp:90:17: error: expected ';' before 'if'
                 if(num[i]/td%10==p)
                 ^
0_0_16394250_30259.cpp:90:17: error: expected primary-expression before 'if'
0_0_16394250_30259.cpp:90:17: error: expected ')' before 'if'
0_0_16394250_30259.cpp:94:34: error: 'printf' was not declared in this scope
                 printf("%d\n",ans);
                                  ^
0_0_16394250_30259.cpp: In function 'int main()':
0_0_16394250_30259.cpp:103:20: error: 'scanf' was not declared in this scope
     scanf("%d",&cas);
                    ^


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