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_19813877_17222.cpp:1:2: error: invalid preprocessing directive #inc
 #inc#include<math.h>
  ^
0_0_19813877_17222.cpp:18:16: error: stray '#' in program
       return 0;#include<math.h>
                ^
0_0_19813877_17222.cpp: In function 'int main()':
0_0_19813877_17222.cpp:10:22: error: 'scanf' was not declared in this scope
      scanf("%d%*c",&n);
                      ^
0_0_19813877_17222.cpp:12:17: error: 'putchar' was not declared in this scope
      putchar('6');
                 ^
0_0_19813877_17222.cpp:14:25: error: 'getchar' was not declared in this scope
           if((c=getchar())&&i>5)
                         ^
0_0_19813877_17222.cpp:18:17: error: 'include' was not declared in this scope
       return 0;#include<math.h>
                 ^
0_0_19813877_17222.cpp:18:25: error: 'math' was not declared in this scope
       return 0;#include<math.h>
                         ^
0_0_19813877_17222.cpp:23:1: error: expected primary-expression before 'int'
 int main()
 ^
0_0_19813877_17222.cpp:35:28: error: expected '}' at end of input
       return 0;lude<stdio.h>
                            ^


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-16 12:27:11, Gzip enabled