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_32869242_9014.cpp:1:7: error: stray '#' in program
 <code>#include <bits/stdc++.h>
       ^
0_0_32869242_9014.cpp:1:1: error: expected unqualified-id before '<' token
 <code>#include <bits/stdc++.h>
 ^
0_0_32869242_9014.cpp: In function 'long long int Read()':
0_0_32869242_9014.cpp:23:21: error: 'getchar' was not declared in this scope
     while(c=getchar(),c<48||c>57)if(c=='-')f=0;
                     ^
0_0_32869242_9014.cpp:25:21: error: 'getchar' was not declared in this scope
     while(c=getchar(),c>=48&&c<=57);
                     ^
0_0_32869242_9014.cpp: In function 'void _main()':
0_0_32869242_9014.cpp:74:33: error: 'scanf' was not declared in this scope
         tot=Ans=0,scanf("%s",S+1);
                                 ^
0_0_32869242_9014.cpp:8:37: error: 'memset' was not declared in this scope
 #define clr(a,b) memset(a,b,sizeof a)
                                     ^
0_0_32869242_9014.cpp:75:9: note: in expansion of macro 'clr'
         clr(cnt,0),clr(Sum,0),clr(vis,0);
         ^
0_0_32869242_9014.cpp:93:26: error: 'printf' was not declared in this scope
         printf("%d\n",Ans);
                          ^


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-26 08:11:14, Gzip enabled