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_17508120_5441.cpp: In function 'long long int gcd(long long int, long long int, long long int&, long long int&)':
0_0_17508120_5441.cpp:45:4: error: 'temp' was not declared in this scope
  y=temp-a/b*y;
    ^
0_0_17508120_5441.cpp:46:9: error: 'ngcd' was not declared in this scope
  return ngcd;
         ^
0_0_17508120_5441.cpp: In function 'long int longjudge(long int, long int, long int)':
0_0_17508120_5441.cpp:51:25: error: 'a' was not declared in this scope
      long longngcd= gcd(a,b,x,y);  
                         ^
0_0_17508120_5441.cpp:51:27: error: 'b' was not declared in this scope
      long longngcd= gcd(a,b,x,y);  
                           ^
0_0_17508120_5441.cpp:52:9: error: 'c' was not declared in this scope
      if(c%ngcd!=0) 
         ^
0_0_17508120_5441.cpp:52:11: error: 'ngcd' was not declared in this scope
      if(c%ngcd!=0) 
           ^
0_0_17508120_5441.cpp:54:9: error: 'c' was not declared in this scope
      x*=c/ngcd;  
         ^
0_0_17508120_5441.cpp:54:11: error: 'ngcd' was not declared in this scope
      x*=c/ngcd;  
           ^


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-28 05:00:35, Gzip enabled