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_36344979_28786.cpp: In member function 'typename std::enable_if<std::is_same<typename NT::Modular<U>::Type, int>::value, NT::Modular<T> >::type& NT::Modular<T>::operator*=(const NT::Modular<T>&)':
0_0_36344979_28786.cpp:90:11: error: expected ')' before ':' token
           : "=a" (d), "=d" (m)
           ^
0_0_36344979_28786.cpp:90:30: error: expression cannot be used as a function
           : "=a" (d), "=d" (m)
                              ^
0_0_36344979_28786.cpp:91:30: error: expression cannot be used as a function
           : "d" (xh), "a" (xl), "r" (mod())
                              ^
0_0_36344979_28786.cpp: In instantiation of 'typename std::enable_if<std::is_same<typename NT::Modular<U>::Type, int>::value, NT::Modular<T> >::type& NT::Modular<T>::operator*=(const NT::Modular<T>&) [with U = std::integral_constant<int, 1000000007>; T = std::integral_constant<int, 1000000007>; typename std::enable_if<std::is_same<typename NT::Modular<U>::Type, int>::value, NT::Modular<T> >::type = NT::Modular<std::integral_constant<int, 1000000007> >]':
0_0_36344979_28786.cpp:147:115:   required from 'NT::Modular<T> NT::operator*(const NT::Modular<T>&, const NT::Modular<T>&) [with T = std::integral_constant<int, 1000000007>]'
0_0_36344979_28786.cpp:338:55:   required from here
0_0_36344979_28786.cpp:91:43: error: expression cannot be used as a function
           : "d" (xh), "a" (xl), "r" (mod())
                                           ^
0_0_36344979_28786.cpp:92:9: error: 'asm' was not declared in this scope
         );
         ^


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 10:30:27, Gzip enabled