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_16124777_15510.cpp: In function 'int main()':
0_0_16124777_15510.cpp:3:2: error: '__int64' was not declared in this scope
  __int64 i,j,k,n,temp,m,a,b,c;
  ^
0_0_16124777_15510.cpp:4:23: error: 'n' was not declared in this scope
  while(scanf("%I64d",&n)>0)
                       ^
0_0_16124777_15510.cpp:4:24: error: 'scanf' was not declared in this scope
  while(scanf("%I64d",&n)>0)
                        ^
0_0_16124777_15510.cpp:6:3: error: 'a' was not declared in this scope
   a=n/3;
   ^
0_0_16124777_15510.cpp:7:3: error: 'b' was not declared in this scope
   b=n/2;
   ^
0_0_16124777_15510.cpp:8:3: error: 'k' was not declared in this scope
   k=a+b+1;
   ^
0_0_16124777_15510.cpp:9:7: error: 'i' was not declared in this scope
   for(i=1;i<=a;i++)
       ^
0_0_16124777_15510.cpp:11:4: error: 'c' was not declared in this scope
    c=n-3*i;
    ^
0_0_16124777_15510.cpp:12:4: error: 'temp' was not declared in this scope
    temp=c/2;
    ^
0_0_16124777_15510.cpp:15:21: error: 'printf' was not declared in this scope
   printf("%I64d\n",k);
                     ^


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-18 02:47:32, Gzip enabled