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_31217949_26879.cpp:9:3: error: missing terminating " character
   scanf("%s","a[i]);
   ^
0_0_31217949_26879.cpp: In function 'int main()':
0_0_31217949_26879.cpp:5:1: error: 'inti' was not declared in this scope
 inti,j,n,k;
 ^
0_0_31217949_26879.cpp:5:6: error: 'j' was not declared in this scope
 inti,j,n,k;
      ^
0_0_31217949_26879.cpp:5:8: error: 'n' was not declared in this scope
 inti,j,n,k;
        ^
0_0_31217949_26879.cpp:5:10: error: 'k' was not declared in this scope
 inti,j,n,k;
          ^
0_0_31217949_26879.cpp:8:7: error: 'i' was not declared in this scope
   for(i=0;i<n;i++)
       ^
0_0_31217949_26879.cpp:10:3: error: expected primary-expression before 'int'
   int max=-1,sum;
   ^
0_0_31217949_26879.cpp:10:14: error: 'sum' was not declared in this scope
   int max=-1,sum;
              ^
0_0_31217949_26879.cpp:11:7: error: 'i' was not declared in this scope
   for(i=0;i<n;i++)
       ^
0_0_31217949_26879.cpp:12:5: error: 'sum' was not declared in this scope
   { sum=0
     ^
0_0_31217949_26879.cpp:25:6: error: 'return0' was not declared in this scope
      return0;
      ^


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-10-05 06:18:35, Gzip enabled