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_16394278_3617.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16394278_3617.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16394278_3617.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16394278_3617.cpp: In function 'll solve(int)':
0_0_16394278_3617.cpp:26:26: error: 'c' cannot be used as a function
             if (c  (n + 1) / 2) c = (c - (n + 1) / 2) * 2;
                          ^
0_0_16394278_3617.cpp: In function 'int main()':
0_0_16394278_3617.cpp:34:19: error: 'scanf' was not declared in this scope
     scanf("%d", &t);
                   ^
0_0_16394278_3617.cpp:39:9: error: expected ';' before 'while'
         while (m--) {
         ^
0_0_16394278_3617.cpp:39:9: error: expected primary-expression before 'while'
0_0_16394278_3617.cpp:39:9: error: expected ')' before 'while'
0_0_16394278_3617.cpp:42:43: error: 'printf' was not declared in this scope
             else printf("%lld\n", solve(c));
                                           ^


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-09-28 17:25:45, Gzip enabled