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_32466759_3307.cpp: In function 'int main()':
0_0_32466759_3307.cpp:9:19: error: expected primary-expression before '%' token
     while (~scanf(%d%d%d%d, &n, &m, &l, &r) && n || m || l || r) {
                   ^
0_0_32466759_3307.cpp:9:20: error: 'd' was not declared in this scope
     while (~scanf(%d%d%d%d, &n, &m, &l, &r) && n || m || l || r) {
                    ^
0_0_32466759_3307.cpp:13:19: error: expected primary-expression before '%' token
             scanf(%d, &w);
                   ^
0_0_32466759_3307.cpp:26:16: error: expected primary-expression before '%' token
         printf(%.4lf, ans);
                ^
0_0_32466759_3307.cpp:26:17: error: unable to find numeric literal operator 'operator""lf'
         printf(%.4lf, ans);
                 ^
0_0_32466759_3307.cpp:26:17: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_32466759_3307.cpp:27:1: error: expected '}' at end of input
 }
 ^


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-17 05:50:03, Gzip enabled