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_38667197_25162.cpp:81:13: error: empty character constant
   81 |     putchar('');//ÕâÓиö»»ÐÐ
      |             ^~
0_0_38667197_25162.cpp:43:11: error: redefinition of 'const long long int INF'
   43 | const int INF = 0x3f3f3f3f;
      |           ^~~
0_0_38667197_25162.cpp:24:11: note: 'const long long int INF' previously defined here
   24 | const int INF = 0x7f7f7f7f;
      |           ^~~
cc1plus.exe: error: '::main' must return 'int'
0_0_38667197_25162.cpp: In function 'void solve()':
0_0_38667197_25162.cpp:162:17: error: 'sum' was not declared in this scope
  162 |                 sum += a[i];
      |                 ^~~
0_0_38667197_25162.cpp:164:21: error: 'sum' was not declared in this scope
  164 |             cout << sum << "\n";
      |                     ^~~
0_0_38667197_25162.cpp: At global scope:
0_0_38667197_25162.cpp:170:8: error: redefinition of 'int main()'
  170 | signed main(){
      |        ^~~~
0_0_38667197_25162.cpp:136:5: note: 'int main()' previously defined here
  136 | int main() {
      |     ^~~~


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-27 11:29:36, Gzip enabled