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_25908322_16953.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_25908322_16953.cpp: In function 'void process(int)':
0_0_25908322_16953.cpp:17:32: error: 'pow' was not declared in this scope
 if((value[a] - pow(value[b],2.0) + pow(value[c],3.0)- pow(value[d],4.0) + pow(value[e],5.0)) == target)
                                ^
0_0_25908322_16953.cpp:19:115: error: 'printf' was not declared in this scope
 printf("%c%c%c%c%c\n",value[a] + 'A' - 1,value[b] + 'A' - 1,value[c] + 'A'-1,value[d] + 'A' - 1,value[e] + 'A' - 1);
                                                                                                                   ^
0_0_25908322_16953.cpp:26:23: error: 'printf' was not declared in this scope
 printf("no solution\n");
                       ^
0_0_25908322_16953.cpp: In function 'int main()':
0_0_25908322_16953.cpp:35:7: error: 'cin' was not declared in this scope
 while(cin>>target>>letters)
       ^
0_0_25908322_16953.cpp:37:38: error: 'strcmp' was not declared in this scope
 if(target == 0&& strcmp(letters,"END") == 0)
                                      ^
0_0_25908322_16953.cpp:45:27: error: 'sort' was not declared in this scope
 sort(value,value+i,compare);
                           ^


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-13 08:42:24, Gzip enabled