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_39811352_475.cpp: In function 'void exgcd(__int128, __int128, __int128&, __int128&)':
0_0_39811352_475.cpp:21:24: error: return-statement with a value, in function returning 'void' [-fpermissive]
   21 |                 return a;
      |                        ^
0_0_39811352_475.cpp:23:9: error: 'in' was not declared in this scope; did you mean 'sin'?
   23 |         in d=exgcd(b,a%b,y,x);
      |         ^~
      |         sin
0_0_39811352_475.cpp: In function '__int128 CRT(__int128*, __int128*, __int128)':
0_0_39811352_475.cpp:28:9: error: 'in' was not declared in this scope; did you mean 'n'?
   28 |         in M=1;
      |         ^~
      |         n
0_0_39811352_475.cpp:29:29: error: 'M' was not declared in this scope
   29 |         for(ll i=0;i<n;++i) M*=m[i];
      |                             ^
0_0_39811352_475.cpp:33:23: error: 'M' was not declared in this scope
   33 |                 ll tm=M/m[i];
      |                       ^
0_0_39811352_475.cpp:37:21: error: 'M' was not declared in this scope
   37 |         return (ret+M)%M;
      |                     ^


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-23 03:32:45, Gzip enabled