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_31470894_20183.cpp:1:1: error: 'The' does not name a type
 The 3n + 1 problem
 ^
0_0_31470894_20183.cpp: In function 'int p(int)':
0_0_31470894_20183.cpp:56:30: error: unable to find numeric literal operator 'operator""a'
                 if(a%2!=0) a=3a+1;
                              ^
0_0_31470894_20183.cpp:56:30: 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-12-04 22:40:38, Gzip enabled