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_14226326_20911.cpp: In function 'bool check(long long int, long long int, long long int, long long int)':
0_0_14226326_20911.cpp:14:18: error: 'a' was not declared in this scope
     if(l>=strlen(a[y]))return false;
                  ^
0_0_14226326_20911.cpp:17:12: error: 'a' was not declared in this scope
         if(a[x][s+i]!=a[y][i])
            ^
0_0_14226326_20911.cpp: In function 'bool judge(long long int, long long int)':
0_0_14226326_20911.cpp:24:25: error: 'a' was not declared in this scope
     __int64 len1=strlen(a[x]);
                         ^
0_0_14226326_20911.cpp: In function 'matrix mul(matrix, matrix)':
0_0_14226326_20911.cpp:5:13: error: unable to find numeric literal operator 'operator""char'
 #define mod 1000000007char a[55][55];
             ^
0_0_14226326_20911.cpp:37:50: note: in expansion of macro 'mod'
                 c.r[i][j]=(c.r[i][j]+(b.r[i][k])%mod*(d.r[k][j])%mod)%mod;
                                                  ^
0_0_14226326_20911.cpp:5:13: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define mod 1000000007char a[55][55];
             ^
0_0_14226326_20911.cpp:37:50: note: in expansion of macro 'mod'
                 c.r[i][j]=(c.r[i][j]+(b.r[i][k])%mod*(d.r[k][j])%mod)%mod;
                                                  ^
0_0_14226326_20911.cpp:5:28: error: expected ')' before 'a'
 #define mod 1000000007char a[55][55];
                            ^
0_0_14226326_20911.cpp:37:50: note: in expansion of macro 'mod'
                 c.r[i][j]=(c.r[i][j]+(b.r[i][k])%mod*(d.r[k][j])%mod)%mod;
                                                  ^
0_0_14226326_20911.cpp:37:64: error: invalid type argument of unary '*' (have 'long long int')
                 c.r[i][j]=(c.r[i][j]+(b.r[i][k])%mod*(d.r[k][j])%mod)%mod;
                                                                ^
0_0_14226326_20911.cpp:5:13: error: unable to find numeric literal operator 'operator""char'
 #define mod 1000000007char a[55][55];
             ^
0_0_14226326_20911.cpp:37:66: note: in expansion of macro 'mod'
                 c.r[i][j]=(c.r[i][j]+(b.r[i][k])%mod*(d.r[k][j])%mod)%mod;
                                                                  ^
0_0_14226326_20911.cpp:5:13: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define mod 1000000007char a[55][55];
             ^
0_0_14226326_20911.cpp:37:66: note: in expansion of macro 'mod'
                 c.r[i][j]=(c.r[i][j]+(b.r[i][k])%mod*(d.r[k][j])%mod)%mod;
                                                                  ^
0_0_14226326_20911.cpp:37:69: error: expected primary-expression before ')' token
                 c.r[i][j]=(c.r[i][j]+(b.r[i][k])%mod*(d.r[k][j])%mod)%mod;
                                                                     ^
0_0_14226326_20911.cpp: In function 'int main()':
0_0_14226326_20911.cpp:61:24: error: 'a' was not declared in this scope
             scanf("%s",a[i]);
                        ^
0_0_14226326_20911.cpp:5:13: error: unable to find numeric literal operator 'operator""char'
 #define mod 1000000007char a[55][55];
             ^
0_0_14226326_20911.cpp:77:22: note: in expansion of macro 'mod'
                 sum%=mod;
                      ^
0_0_14226326_20911.cpp:5:13: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define mod 1000000007char a[55][55];
             ^
0_0_14226326_20911.cpp:77:22: note: in expansion of macro 'mod'
                 sum%=mod;
                      ^
0_0_14226326_20911.cpp:83:1: error: expected '}' 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-07-04 14:29:59, Gzip enabled