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_23145939_16681.cpp: In function 'int main()':
0_0_23145939_16681.cpp:112:8: error: expected primary-expression before '%' token
  scanf(%d,&test);
        ^
0_0_23145939_16681.cpp:115:9: error: expected primary-expression before '%' token
   scanf(%d %d %d %d %d,&n,&m,&y,&x,&d);
         ^
0_0_23145939_16681.cpp:118:10: error: expected primary-expression before '%' token
    scanf(%lf,&p[i]);
          ^
0_0_23145939_16681.cpp:118:11: error: 'lf' was not declared in this scope
    scanf(%lf,&p[i]);
           ^
0_0_23145939_16681.cpp:123:15: error: cannot convert 'double' to 'const char*' for argument '1' to 'int printf(const char*, ...)'
    printf(0.00);
               ^
0_0_23145939_16681.cpp:135:14: error: 'Impossible' was not declared in this scope
       printf(Impossible !);
              ^
0_0_23145939_16681.cpp:165:20: error: expected primary-expression before '%' token
             printf(%.2lf,X[num[x]]);
                    ^
0_0_23145939_16681.cpp:165:21: error: unable to find numeric literal operator 'operator""lf'
             printf(%.2lf,X[num[x]]);
                     ^
0_0_23145939_16681.cpp:165:21: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_23145939_16681.cpp:166:21: error: 'Impossible' was not declared in this scope
         else printf(Impossible !);
                     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-18 21:12:55, Gzip enabled