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_21854939_9123.cpp:130:4: error: expected unqualified-id before numeric constant
 LL 2ny;
    ^
0_0_21854939_9123.cpp: In function 'long long int Getans(long long int)':
0_0_21854939_9123.cpp:137:24: error: unable to find numeric literal operator 'operator""ny'
   ret+=tmp*(tmp+1)%MOD*2ny%MOD*i%MOD*phi[i]%MOD;
                        ^
0_0_21854939_9123.cpp:137:24: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_21854939_9123.cpp: In function 'int main()':
0_0_21854939_9123.cpp:165:2: error: unable to find numeric literal operator 'operator""ny'
  2ny=KSM(2,MOD-2);
  ^
0_0_21854939_9123.cpp:165:2: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes


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-10-01 08:33:23, Gzip enabled