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_1522079_21852.cpp: In function `mat1 mul1(mat1, mat1)':
0_0_1522079_21852.cpp:19: error: incompatible types in assignment of `int' to `long long int[2]'
0_0_1522079_21852.cpp:22: error: invalid operands of types `long long int[2]' and `long long int' to binary `operator*'
0_0_1522079_21852.cpp:23: error: ISO C++ forbids comparison between pointer and integer
0_0_1522079_21852.cpp:24: error: invalid operands of types `long long int[2]' and `long long int' to binary `operator%'
0_0_1522079_21852.cpp:24: error:   in evaluation of `operator%=(long long int[2], long long int)'
0_0_1522079_21852.cpp: In function `mat2 mul2(mat2, mat2)':
0_0_1522079_21852.cpp:38: error: incompatible types in assignment of `int' to `long long int[4]'
0_0_1522079_21852.cpp:41: error: invalid operands of types `long long int[4]' and `long long int' to binary `operator*'
0_0_1522079_21852.cpp:42: error: ISO C++ forbids comparison between pointer and integer
0_0_1522079_21852.cpp:43: error: invalid operands of types `long long int[4]' and `long long int' to binary `operator%'
0_0_1522079_21852.cpp:43: error:   in evaluation of `operator%=(long long int[4], long long int)'
0_0_1522079_21852.cpp: In function `mat1 cal(int)':
0_0_1522079_21852.cpp:59: error: incompatible types in assignment of `int' to `long long int[2]'
0_0_1522079_21852.cpp:62: error: incompatible types in assignment of `int' to `long long int[2]'
0_0_1522079_21852.cpp:63: error: incompatible types in assignment of `int' to `long long int[2]'
0_0_1522079_21852.cpp: In function `int main()':
0_0_1522079_21852.cpp:95: error: incompatible types in assignment of `bool' to `long long int[4]'
0_0_1522079_21852.cpp:96: error: incompatible types in assignment of `int' to `long long int[4]'
0_0_1522079_21852.cpp:104: error: incompatible types in assignment of `long long int[2]' to `long long int[4]'


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-09-28 23:36:00, Gzip enabled