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_19230910_21321.cpp:20:13: error: unable to find numeric literal operator 'operator""__int64'
 #define NUM 200__int64 aa[300];__int64 rr[50000];
             ^
0_0_19230910_21321.cpp:21:9: note: in expansion of macro 'NUM'
 int pri[NUM];
         ^
0_0_19230910_21321.cpp:20:13: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define NUM 200__int64 aa[300];__int64 rr[50000];
             ^
0_0_19230910_21321.cpp:21:9: note: in expansion of macro 'NUM'
 int pri[NUM];
         ^
0_0_19230910_21321.cpp:20:24: error: expected ']' before 'aa'
 #define NUM 200__int64 aa[300];__int64 rr[50000];
                        ^
0_0_19230910_21321.cpp:21:9: note: in expansion of macro 'NUM'
 int pri[NUM];
         ^
0_0_19230910_21321.cpp:21:12: error: expected unqualified-id before ']' token
 int pri[NUM];
            ^
0_0_19230910_21321.cpp: In function 'int init()':
0_0_19230910_21321.cpp:31:18: error: 'pri' was not declared in this scope
 int j = 0 ;      pri[j++] = 2 ;      pri[j++] = 3 ;      for( 
                  ^
0_0_19230910_21321.cpp: In function 'int main()':
0_0_19230910_21321.cpp:20:13: error: unable to find numeric literal operator 'operator""__int64'
 #define NUM 200__int64 aa[300];__int64 rr[50000];
             ^
0_0_19230910_21321.cpp:43:14: note: in expansion of macro 'NUM'
 int i = 0; i<NUM ;i++  ){                              res = pri[i] ;                              b = pri[i] - a;                              if(b == 0 ) continue;                              next = a * pri[i] + b ;                              if(next == pri[i]) continue;                              if(res * next > INF){                                      continue;                                      }                              if(next <0 )                                      continue;                              if(next >= SIZE){                                  if(!pdsu(next))                                      continue ;                              }                             else{                                      if(!sub[next])                                      continue ;                              }                              res = res * next;                              if(res >INF) continue;                             while(1){                               next2 = next * a +b;                               if(next2 == next ) break;                               if(res * next2 > INF){                                      break;                                      }                               if(next2 <0 )                                      break;                             if(next2 >= SIZE){                                      if(!pdsu(next2))                                      break ;                              }                              else{                                      if(!sub[next2])                                      break ;                              }                              res = res * next2;                              if(res >INF) break;                              rr[t++] = res ;                              next = next2 ;                             }                        }               }      for(
              ^
0_0_19230910_21321.cpp:20:13: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define NUM 200__int64 aa[300];__int64 rr[50000];
             ^
0_0_19230910_21321.cpp:43:14: note: in expansion of macro 'NUM'
 int i = 0; i<NUM ;i++  ){                              res = pri[i] ;                              b = pri[i] - a;                              if(b == 0 ) continue;                              next = a * pri[i] + b ;                              if(next == pri[i]) continue;                              if(res * next > INF){                                      continue;                                      }                              if(next <0 )                                      continue;                              if(next >= SIZE){                                  if(!pdsu(next))                                      continue ;                              }                             else{                                      if(!sub[next])                                      continue ;                              }                              res = res * next;                              if(res >INF) continue;                             while(1){                               next2 = next * a +b;                               if(next2 == next ) break;                               if(res * next2 > INF){                                      break;                                      }                               if(next2 <0 )                                      break;                             if(next2 >= SIZE){                                      if(!pdsu(next2))                                      break ;                              }                              else{                                      if(!sub[next2])                                      break ;                              }                              res = res * next2;                              if(res >INF) break;                              rr[t++] = res ;                              next = next2 ;                             }                        }               }      for(
              ^
0_0_19230910_21321.cpp:20:24: error: expected ';' before 'aa'
 #define NUM 200__int64 aa[300];__int64 rr[50000];
                        ^
0_0_19230910_21321.cpp:43:14: note: in expansion of macro 'NUM'
 int i = 0; i<NUM ;i++  ){                              res = pri[i] ;                              b = pri[i] - a;                              if(b == 0 ) continue;                              next = a * pri[i] + b ;                              if(next == pri[i]) continue;                              if(res * next > INF){                                      continue;                                      }                              if(next <0 )                                      continue;                              if(next >= SIZE){                                  if(!pdsu(next))                                      continue ;                              }                             else{                                      if(!sub[next])                                      continue ;                              }                              res = res * next;                              if(res >INF) continue;                             while(1){                               next2 = next * a +b;                               if(next2 == next ) break;                               if(res * next2 > INF){                                      break;                                      }                               if(next2 <0 )                                      break;                             if(next2 >= SIZE){                                      if(!pdsu(next2))                                      break ;                              }                              else{                                      if(!sub[next2])                                      break ;                              }                              res = res * next2;                              if(res >INF) break;                              rr[t++] = res ;                              next = next2 ;                             }                        }               }      for(
              ^
0_0_19230910_21321.cpp:20:24: error: 'aa' was not declared in this scope
 #define NUM 200__int64 aa[300];__int64 rr[50000];
                        ^
0_0_19230910_21321.cpp:43:14: note: in expansion of macro 'NUM'
 int i = 0; i<NUM ;i++  ){                              res = pri[i] ;                              b = pri[i] - a;                              if(b == 0 ) continue;                              next = a * pri[i] + b ;                              if(next == pri[i]) continue;                              if(res * next > INF){                                      continue;                                      }                              if(next <0 )                                      continue;                              if(next >= SIZE){                                  if(!pdsu(next))                                      continue ;                              }                             else{                                      if(!sub[next])                                      continue ;                              }                              res = res * next;                              if(res >INF) continue;                             while(1){                               next2 = next * a +b;                               if(next2 == next ) break;                               if(res * next2 > INF){                                      break;                                      }                               if(next2 <0 )                                      break;                             if(next2 >= SIZE){                                      if(!pdsu(next2))                                      break ;                              }                              else{                                      if(!sub[next2])                                      break ;                              }                              res = res * next2;                              if(res >INF) break;                              rr[t++] = res ;                              next = next2 ;                             }                        }               }      for(
              ^
0_0_19230910_21321.cpp:20:31: error: expected ')' before ';' token
 #define NUM 200__int64 aa[300];__int64 rr[50000];
                               ^
0_0_19230910_21321.cpp:43:14: note: in expansion of macro 'NUM'
 int i = 0; i<NUM ;i++  ){                              res = pri[i] 


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-16 16:48:26, Gzip enabled