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_30300117_9931.cpp:57:1: error: expected '}' at end of input
 }
 ^
0_0_30300117_9931.cpp: In member function 'matrix matrix::operator*(const matrix&) const':
0_0_30300117_9931.cpp:22:35: error: invalid conversion from 'const long long int (*)[2]' to 'long long int' [-fpermissive]
    for (int k=0;k<2;k++) c.a[i][j]=a
                                   ^
0_0_30300117_9931.cpp:23:1: error: expected ';' before '}' token
 }mul[N*4],ans;
 ^
0_0_30300117_9931.cpp:23:2: error: 'mul' was not declared in this scope
 }mul[N*4],ans;
  ^
0_0_30300117_9931.cpp:23:11: error: 'ans' was not declared in this scope
 }mul[N*4],ans;
           ^
0_0_30300117_9931.cpp:24:22: error: a function-definition is not allowed here before '{' token
 void pushdown(int d) { if (tag[d]) tag[d*2]^=1,tag[d*2+1]^=1,mul[d*2].change(),mul[d*2+1].change(),tag[d]=0; }
                      ^
0_0_30300117_9931.cpp:26:1: error: a function-definition is not allowed here before '{' token
 {
 ^
0_0_30300117_9931.cpp:57:1: error: expected '}' at end of input
 }
 ^
0_0_30300117_9931.cpp: At global scope:
0_0_30300117_9931.cpp:57:1: error: expected unqualified-id at end of input


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 00:26:09, Gzip enabled