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_16818784_9971.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16818784_9971.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16818784_9971.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16818784_9971.cpp:32:25: error: stray '#' in program
         printf(Scenario #%d:
                         ^
0_0_16818784_9971.cpp: In function 'int main()':
0_0_16818784_9971.cpp:18:11: error: expected primary-expression before '%' token
     scanf(%d, &T);
           ^
0_0_16818784_9971.cpp:18:12: error: 'd' was not declared in this scope
     scanf(%d, &T);
            ^
0_0_16818784_9971.cpp:18:17: error: 'scanf' was not declared in this scope
     scanf(%d, &T);
                 ^
0_0_16818784_9971.cpp:20:15: error: expected primary-expression before '%' token
         scanf(%d, &n);
               ^
0_0_16818784_9971.cpp:25:19: error: expected primary-expression before '%' token
             scanf(%d%d, &x, &y);
                   ^
0_0_16818784_9971.cpp:29:29: error: 'abs' was not declared in this scope
             sum += gcd(abs(x), abs(y));
                             ^
0_0_16818784_9971.cpp:31:29: error: 'fabs' was not declared in this scope
         area = fabs(area*0.5);
                             ^
0_0_16818784_9971.cpp:32:16: error: 'Scenario' was not declared in this scope
         printf(Scenario #%d:
                ^
0_0_16818784_9971.cpp:33:10: error: 'printf' was not declared in this scope
 , icase++);
          ^
0_0_16818784_9971.cpp:34:16: error: expected primary-expression before '%' token
         printf(%.0lf %d %.1lf
                ^
0_0_16818784_9971.cpp:34:17: error: unable to find numeric literal operator 'operator""lf'
         printf(%.0lf %d %.1lf
                 ^
0_0_16818784_9971.cpp:34:17: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_16818784_9971.cpp:34:26: error: unable to find numeric literal operator 'operator""lf'
         printf(%.0lf %d %.1lf
                          ^
0_0_16818784_9971.cpp:34:26: 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-01 20:39:34, Gzip enabled