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_16394409_18804.cpp: In function 'long long int gcd(long long int, long long int)':
0_0_16394409_18804.cpp:70:11: error: incompatible types in assignment of 'long long int' to 'int [55]'
         a = _b;
           ^
0_0_16394409_18804.cpp:71:11: error: incompatible types in assignment of 'long long int' to 'int [55]'
         b = _t;
           ^
0_0_16394409_18804.cpp: In function 'long long int ext_gcd(long long int, long long int, long long int&, long long int&)':
0_0_16394409_18804.cpp:79:9: error: 'x' was not declared in this scope
         x = 1;
         ^
0_0_16394409_18804.cpp:80:9: error: 'y' was not declared in this scope
         y = 0;
         ^
0_0_16394409_18804.cpp:85:5: error: 'x' was not declared in this scope
     x = _y;
     ^
0_0_16394409_18804.cpp:86:5: error: 'y' was not declared in this scope
     y = _t - _a / _b * _y;
     ^
0_0_16394409_18804.cpp: In function 'long long int invmod(long long int, long long int)':
0_0_16394409_18804.cpp:93:5: error: 'ans' was not declared in this scope
     ans < 0 ? _ans += _p : 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-11-22 19:31:49, Gzip enabled