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_13128625_20899.cpp:6:1: error: 'LL' does not name a type
 LL dp[50005][350];
 ^
0_0_13128625_20899.cpp: In function 'int main()':
0_0_13128625_20899.cpp:9:3: error: 'LL' was not declared in this scope
   LL T,t,n,m,x,i,j,ans;
   ^
0_0_13128625_20899.cpp:10:18: error: 'T' was not declared in this scope
   scanf("%I64d",&T);
                  ^
0_0_13128625_20899.cpp:11:8: error: 't' was not declared in this scope
   for (t=1;t<=T;t++)
        ^
0_0_13128625_20899.cpp:13:22: error: 'n' was not declared in this scope
  scanf("%I64d%I64d",&n,&m);
                      ^
0_0_13128625_20899.cpp:13:25: error: 'm' was not declared in this scope
  scanf("%I64d%I64d",&n,&m);
                         ^
0_0_13128625_20899.cpp:14:2: error: 'x' was not declared in this scope
  x=((LL)sqrt(1.0*8*n+1.0)-1)/2;
  ^
0_0_13128625_20899.cpp:14:9: error: expected ')' before 'sqrt'
  x=((LL)sqrt(1.0*8*n+1.0)-1)/2;
         ^
0_0_13128625_20899.cpp:15:9: error: 'dp' was not declared in this scope
  memset(dp,0,sizeof(dp));
         ^
0_0_13128625_20899.cpp:17:7: error: 'i' was not declared in this scope
  for (i=1;i<=n;i++)
       ^
0_0_13128625_20899.cpp:18:9: error: 'j' was not declared in this scope
    for (j=1;j<=min(x,i);j++)
         ^
0_0_13128625_20899.cpp:20:2: error: 'ans' was not declared in this scope
  ans=0;
  ^
0_0_13128625_20899.cpp:21:7: error: 'i' was not declared in this scope
  for (i=1;i<=x;i++)
       ^


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-25 13:44:20, Gzip enabled