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_18055457_32727.cpp: In function 'void exbsgs(long long int, long long int, long long int)':
0_0_18055457_32727.cpp:6:25: error: 'printf' was not declared in this scope
             printf("0\n");
                         ^
0_0_18055457_32727.cpp:14:34: error: 'printf' was not declared in this scope
                 printf("%d\n",now);
                                  ^
0_0_18055457_32727.cpp:17:23: error: 'gcd' was not declared in this scope
             gc=gcd(v,c);
                       ^
0_0_18055457_32727.cpp:21:35: error: 'printf' was not declared in this scope
             printf("No Solution\n");
                                   ^
0_0_18055457_32727.cpp:28:21: error: 'sqrt' was not declared in this scope
     int m=sqrt(c-now);//解得范围可优化  c->phi(c)
                     ^
0_0_18055457_32727.cpp:29:5: error: 'dib' was not declared in this scope
     dib[0].v=1;dib[0].x=0;//不能设dib[0].v=v   否则处理会变复杂
     ^
0_0_18055457_32727.cpp:30:8: error: 'i' was not declared in this scope
     fo(i,1,m){
        ^
0_0_18055457_32727.cpp:30:13: error: 'fo' was not declared in this scope
     fo(i,1,m){
             ^
0_0_18055457_32727.cpp:42:19: error: 'sort' was not declared in this scope
     sort(dib,dib+m);
                   ^
0_0_18055457_32727.cpp:46:38: error: 'bsgsnod' was not declared in this scope
         int j=lower_bound(dib,dib+m,(bsgsnod){nv,m+1})-dib;
                                      ^
0_0_18055457_32727.cpp:46:54: error: 'lower_bound' was not declared in this scope
         int j=lower_bound(dib,dib+m,(bsgsnod){nv,m+1})-dib;
                                                      ^
0_0_18055457_32727.cpp:49:43: error: 'printf' was not declared in this scope
                 printf("%d\n",now-dib[j].x);
                                           ^
0_0_18055457_32727.cpp:54:27: error: 'printf' was not declared in this scope
     printf("No Solution\n");//
                           ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-17 12:57:39, Gzip enabled