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_29445493_20980.cpp:48:2: error: stray '\321' in program
  a^(n-1)=1(mod n)  验证n是不是合数//一定是合数返回true,不一定返回false
  ^
0_0_29445493_20980.cpp:48:2: error: stray '\351' in program
0_0_29445493_20980.cpp:48:2: error: stray '\326' in program
0_0_29445493_20980.cpp:48:2: error: stray '\244' in program
0_0_29445493_20980.cpp:48:2: error: stray '\312' in program
0_0_29445493_20980.cpp:48:2: error: stray '\307' in program
0_0_29445493_20980.cpp:48:2: error: stray '\262' in program
0_0_29445493_20980.cpp:48:2: error: stray '\273' in program
0_0_29445493_20980.cpp:48:2: error: stray '\312' in program
0_0_29445493_20980.cpp:48:2: error: stray '\307' in program
0_0_29445493_20980.cpp:48:2: error: stray '\272' in program
0_0_29445493_20980.cpp:48:2: error: stray '\317' in program
0_0_29445493_20980.cpp:48:2: error: stray '\312' in program
0_0_29445493_20980.cpp:48:2: error: stray '\375' in program
0_0_29445493_20980.cpp:18:9: error: 'pair' does not name a type
 typedef pair<int,double> pii;
         ^
0_0_29445493_20980.cpp:28:1: error: 'a' does not name a type
 a,b,c <2^63ll mult_mod(ll a, ll b, ll c) {    
 ^
0_0_29445493_20980.cpp: In function 'll pow_mod(ll, ll, ll)':
0_0_29445493_20980.cpp:44:39: error: 'mult_mod' was not declared in this scope
 if(n & 1) ret = mult_mod(ret, tmp, mod);       
                                       ^
0_0_29445493_20980.cpp:45:30: error: 'mult_mod' was not declared in this scope
  tmp = mult_mod(tmp, tmp, mod);      
                              ^
0_0_29445493_20980.cpp: At global scope:
0_0_29445493_20980.cpp:48:2: error: 'a' does not name a type
  a^(n-1)=1(mod n)  验证n是不是合数//一定是合数返回true,不一定返回false
  ^
0_0_29445493_20980.cpp: In function 'bool Miller_Rabbin(ll)':
0_0_29445493_20980.cpp:70:21: error: 'check' was not declared in this scope
  if(check(a, n, x, t))            
                     ^
0_0_29445493_20980.cpp:77:1: error: 'a' was not declared in this scope
 a,b,c <2^63int flag=0; 
 ^
0_0_29445493_20980.cpp:77:3: error: 'b' was not declared in this scope
 a,b,c <2^63int flag=0; 
   ^
0_0_29445493_20980.cpp:77:5: error: 'c' was not declared in this scope
 a,b,c <2^63int flag=0; 
     ^
0_0_29445493_20980.cpp:77:10: error: unable to find numeric literal operator 'operator""int'
 a,b,c <2^63int flag=0; 
          ^
0_0_29445493_20980.cpp:77:10: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_29445493_20980.cpp:78:20: error: a function-definition is not allowed here before '{' token
 ll gcd(ll a, ll b) {    
                    ^
0_0_29445493_20980.cpp:123:10: error: expected '}' at end of input
 return 0;}
          ^


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-06-26 08:53:29, Gzip enabled