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_39598296_23495.cpp:116:1: error: 'g' does not name a type
  116 | g long
      | ^
0_0_39598296_23495.cpp:120:11: error: redefinition of 'const int N1'
  120 | const int N1 = 1e9 + 7;
      |           ^~
0_0_39598296_23495.cpp:9:11: note: 'const int N1' previously defined here
    9 | const int N1 = 1e9 + 7;
      |           ^~
0_0_39598296_23495.cpp:122:4: error: redefinition of 'LL modMul(LL, LL, LL)'
  122 | LL modMul(LL x, LL y, LL m) {
      |    ^~~~~~
0_0_39598296_23495.cpp:11:4: note: 'LL modMul(LL, LL, LL)' previously defined here
   11 | LL modMul(LL x, LL y, LL m) {
      |    ^~~~~~
0_0_39598296_23495.cpp:132:4: error: redefinition of 'LL modExpll(LL, LL, LL)'
  132 | LL modExpll(LL a, LL n, LL m) {
      |    ^~~~~~~~
0_0_39598296_23495.cpp:21:4: note: 'LL modExpll(LL, LL, LL)' previously defined here
   21 | LL modExpll(LL a, LL n, LL m) {
      |    ^~~~~~~~
0_0_39598296_23495.cpp:143:6: error: redefinition of 'bool primell(LL, int)'
  143 | bool primell(LL p, int tr) {
      |      ^~~~~~~
0_0_39598296_23495.cpp:32:6: note: 'bool primell(LL, int)' previously defined here
   32 | bool primell(LL p, int tr) {
      |      ^~~~~~~
0_0_39598296_23495.cpp:162:4: error: redefinition of 'LL Pollard_Rho(LL, LL)'
  162 | LL Pollard_Rho(LL n, LL c) {
      |    ^~~~~~~~~~~
0_0_39598296_23495.cpp:51:4: note: 'LL Pollard_Rho(LL, LL)' previously defined here
   51 | LL Pollard_Rho(LL n, LL c) {
      |    ^~~~~~~~~~~
0_0_39598296_23495.cpp:179:11: error: redefinition of 'const int TR'
  179 | const int TR = 15;
      |           ^~
0_0_39598296_23495.cpp:68:11: note: 'const int TR' previously defined here
   68 | const int TR = 15;
      |           ^~
0_0_39598296_23495.cpp:180:5: error: redefinition of 'int pn'
  180 | int pn;
      |     ^~
0_0_39598296_23495.cpp:69:5: note: 'int pn' previously declared here
   69 | int pn;
      |     ^~
0_0_39598296_23495.cpp:181:4: error: redefinition of 'LL p [100]'
  181 | LL p[100];
      |    ^
0_0_39598296_23495.cpp:70:4: note: 'LL p [100]' previously declared here
   70 | LL p[100];
      |    ^
0_0_39598296_23495.cpp:182:6: error: redefinition of 'void factor(LL)'
  182 | void factor(LL n) {
      |      ^~~~~~
0_0_39598296_23495.cpp:71:6: note: 'void factor(LL)' previously defined here
   71 | void factor(LL n) {
      |      ^~~~~~
0_0_39598296_23495.cpp:195:6: error: redefinition of 'void solve()'
  195 | void solve(){
      |      ^~~~~
0_0_39598296_23495.cpp:84:6: note: 'void solve()' previously defined here
   84 | void solve(){
      |      ^~~~~
0_0_39598296_23495.cpp:213:5: error: redefinition of 'int main()'
  213 | int main() {
      |     ^~~~
0_0_39598296_23495.cpp:102:5: note: 'int main()' previously defined here
  102 | int main() {
      |     ^~~~


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-25 15:57:53, Gzip enabled