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_39209214_14438.cpp:5:1: error: 'LL' does not name a type; did you mean 'll'?
    5 | LL a[4];
      | ^~
      | ll
0_0_39209214_14438.cpp:6:1: error: 'LL' does not name a type; did you mean 'll'?
    6 | LL f[3][3][3];
      | ^~
      | ll
0_0_39209214_14438.cpp: In function 'int main()':
0_0_39209214_14438.cpp:10:9: error: 'LL' was not declared in this scope; did you mean 'll'?
   10 |         LL ans;
      |         ^~
      |         ll
0_0_39209214_14438.cpp:11:9: error: 'f' was not declared in this scope
   11 |         f[0][0][0]=0,f[0][0][1]=0,f[0][0][2]=1,f[0][1][1]=1,f[0][1][2]=3,f[0][2][2]=6;
      |         ^
0_0_39209214_14438.cpp:13:31: error: 'a' was not declared in this scope
   13 |         while(scanf("%d%d%d",&a[0],&a[1],&a[2])!=EOF)
      |                               ^
0_0_39209214_14438.cpp:27:19: error: expected ';' before 'p'
   27 |                 LL p = a[0]+ a[1]+ a[2];
      |                   ^~
      |                   ;
0_0_39209214_14438.cpp:28:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
   28 |                 ans=f[a[0]][a[1]][a[2]] + cnt * p;
      |                 ^~~
      |                 abs
0_0_39209214_14438.cpp:28:49: error: 'p' was not declared in this scope
   28 |                 ans=f[a[0]][a[1]][a[2]] + cnt * p;
      |                                                 ^


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 06:33:15, Gzip enabled