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_13727267_27241.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13727267_27241.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13727267_27241.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13727267_27241.cpp:5:12: error: '__int64' does not name a type
 #define LL __int64
            ^
0_0_13727267_27241.cpp:7:5: note: in expansion of macro 'LL'
     LL a[12][12] ;
     ^
0_0_13727267_27241.cpp:5:12: error: '__int64' has not been declared
 #define LL __int64
            ^
0_0_13727267_27241.cpp:10:24: note: in expansion of macro 'LL'
 node mul(node p,node q,LL m)
                        ^
0_0_13727267_27241.cpp: In function 'node mul(node, node, int)':
0_0_13727267_27241.cpp:16:9: error: expected ';' before 'for'
         for(j = 0 ; j 
         ^
0_0_13727267_27241.cpp:16:9: error: expected primary-expression before 'for'
0_0_13727267_27241.cpp:16:9: error: expected ')' before 'for'
0_0_13727267_27241.cpp:17:9: error: expected ';' before '{' token
         {
         ^
0_0_13727267_27241.cpp:17:9: error: expected primary-expression before '{' token
0_0_13727267_27241.cpp:17:9: error: expected ')' before '{' token
0_0_13727267_27241.cpp:18:15: error: 'struct node' has no member named 'a'
             s.a[i][j] = 0 ;
               ^
0_0_13727267_27241.cpp:20:17: error: expected ';' before 's'
                 s.a[i][j] = (s.a[i][j] + p.a[i][k]*q.a[k][j]) % m ;
                 ^
0_0_13727267_27241.cpp:20:19: error: 'struct node' has no member named 'a'
                 s.a[i][j] = (s.a[i][j] + p.a[i][k]*q.a[k][j]) % m ;
                   ^
0_0_13727267_27241.cpp:20:32: error: 'struct node' has no member named 'a'
                 s.a[i][j] = (s.a[i][j] + p.a[i][k]*q.a[k][j]) % m ;
                                ^
0_0_13727267_27241.cpp:20:44: error: 'struct node' has no member named 'a'
                 s.a[i][j] = (s.a[i][j] + p.a[i][k]*q.a[k][j]) % m ;
                                            ^
0_0_13727267_27241.cpp:20:54: error: 'struct node' has no member named 'a'
                 s.a[i][j] = (s.a[i][j] + p.a[i][k]*q.a[k][j]) % m ;
                                                      ^
0_0_13727267_27241.cpp:20:67: error: expected ')' before ';' token
                 s.a[i][j] = (s.a[i][j] + p.a[i][k]*q.a[k][j]) % m ;
                                                                   ^
0_0_13727267_27241.cpp: At global scope:
0_0_13727267_27241.cpp:5:12: error: '__int64' has not been declared
 #define LL __int64
            ^
0_0_13727267_27241.cpp:24:17: note: in expansion of macro 'LL'
 node pow(node p,LL k,LL m)
                 ^
0_0_13727267_27241.cpp:5:12: error: '__int64' has not been declared
 #define LL __int64
            ^
0_0_13727267_27241.cpp:24:22: note: in expansion of macro 'LL'
 node pow(node p,LL k,LL m)
                      ^
0_0_13727267_27241.cpp: In function 'int main()':
0_0_13727267_27241.cpp:5:12: error: '__int64' was not declared in this scope
 #define LL __int64
            ^
0_0_13727267_27241.cpp:38:5: note: in expansion of macro 'LL'
     LL k , m , ans ;
     ^
0_0_13727267_27241.cpp:41:34: error: 'k' was not declared in this scope
     while( scanf("%I64d %I64d", &k, &m) != EOF )
                                  ^
0_0_13727267_27241.cpp:41:38: error: 'm' was not declared in this scope
     while( scanf("%I64d %I64d", &k, &m) != EOF )
                                      ^
0_0_13727267_27241.cpp:41:39: error: 'scanf' was not declared in this scope
     while( scanf("%I64d %I64d", &k, &m) != EOF )
                                       ^
0_0_13727267_27241.cpp:41:44: error: 'EOF' was not declared in this scope
     while( scanf("%I64d %I64d", &k, &m) != EOF )
                                            ^
0_0_13727267_27241.cpp:44:9: error: expected ')' before '{' token
         {
         ^
0_0_13727267_27241.cpp:51:9: error: expected ';' before '{' token
         {
         ^
0_0_13727267_27241.cpp:51:9: error: expected primary-expression before '{' token
0_0_13727267_27241.cpp:51:9: error: expected ')' before '{' token
0_0_13727267_27241.cpp:53:17: error: expected ';' before 'p'
                 p.a[i][j] = 0 ;
                 ^
0_0_13727267_27241.cpp:53:19: error: 'struct node' has no member named 'a'
                 p.a[i][j] = 0 ;
                   ^
0_0_13727267_27241.cpp:53:31: error: expected ')' before ';' token
                 p.a[i][j] = 0 ;
                               ^
0_0_13727267_27241.cpp:54:15: error: 'struct node' has no member named 'a'
             p.a[i][i+1] = 1 ;
               ^
0_0_13727267_27241.cpp:57:13: error: expected ';' before 'scanf'
             scanf("%I64d", &p.a[i][0]) ;
             ^
0_0_13727267_27241.cpp:57:31: error: 'struct node' has no member named 'a'
             scanf("%I64d", &p.a[i][0]) ;
                               ^
0_0_13727267_27241.cpp:57:40: error: expected ')' before ';' token
             scanf("%I64d", &p.a[i][0]) ;
                                        ^
0_0_13727267_27241.cpp:60:13: error: expected ';' before 'ans'
             ans = ( ans + (9-i)*s.a[i][0] ) % m ;
             ^
0_0_13727267_27241.cpp:60:13: error: 'ans' was not declared in this scope
0_0_13727267_27241.cpp:60:35: error: 'struct node' has no member named 'a'
             ans = ( ans + (9-i)*s.a[i][0] ) % m ;
                                   ^
0_0_13727267_27241.cpp:60:49: error: expected ')' before ';' token
             ans = ( ans + (9-i)*s.a[i][0] ) % m ;
                                                 ^
0_0_13727267_27241.cpp:61:27: error: 'ans' was not declared in this scope
         printf("%I64d\n", ans) ;
                           ^
0_0_13727267_27241.cpp:61:30: error: 'printf' was not declared in this scope
         printf("%I64d\n", ans) ;
                              ^


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-29 20:01:49, Gzip enabled