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_39493682_25484.cpp:1:5: error: 'mx' does not name a type
    1 |     mx[1][0] = mx[1][1] = mx[1][2] = mx[2][0] = mx[2][1] = mx[2][2] = 21474836470000000;
      |     ^~
0_0_39493682_25484.cpp:2:5: error: 'mx' does not name a type
    2 |     mx[0][0] = mx[0][1] = mx[0][2] = mx[3][0] = mx[3][1] = mx[3][2] = -21474836470000000;
      |     ^~
0_0_39493682_25484.cpp:3:5: error: expected unqualified-id before 'for'
    3 |     for (int i = 1; i <= n; i++) {
      |     ^~~
0_0_39493682_25484.cpp:3:21: error: 'i' does not name a type
    3 |     for (int i = 1; i <= n; i++) {
      |                     ^
0_0_39493682_25484.cpp:3:29: error: 'i' does not name a type
    3 |     for (int i = 1; i <= n; i++) {
      |                             ^
0_0_39493682_25484.cpp:29:15: error: 'calc' was not declared in this scope
   29 |     int ans = calc(0);
      |               ^~~~


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-15 00:41:12, Gzip enabled