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_29560166_14938.cpp:2:12: error: '_int128_t' does not name a type
 #define ll _int128_t 
            ^
0_0_29560166_14938.cpp:6:2: note: in expansion of macro 'll'
  ll num;
  ^
0_0_29560166_14938.cpp:2:12: error: '_int128_t' does not name a type
 #define ll _int128_t 
            ^
0_0_29560166_14938.cpp:7:2: note: in expansion of macro 'll'
  ll ans;
  ^
0_0_29560166_14938.cpp: In function 'bool cmp(kk, kk)':
0_0_29560166_14938.cpp:10:11: error: 'struct kk' has no member named 'num'
  return a.num<b.num;
           ^
0_0_29560166_14938.cpp:10:17: error: 'struct kk' has no member named 'num'
  return a.num<b.num;
                 ^
0_0_29560166_14938.cpp: At global scope:
0_0_29560166_14938.cpp:2:12: error: '_int128_t' does not name a type
 #define ll _int128_t 
            ^
0_0_29560166_14938.cpp:19:1: note: in expansion of macro 'll'
 ll ans,n;int t;
 ^
0_0_29560166_14938.cpp: In function 'void solve()':
0_0_29560166_14938.cpp:21:26: error: 'struct kk' has no member named 'num'
  for(int i=1;i*i<=que[t].num;i++){
                          ^
0_0_29560166_14938.cpp:22:29: error: 'struct kk' has no member named 'num'
   if(i*i+(i+1)*(i+1)>que[t].num)break;
                             ^
0_0_29560166_14938.cpp:23:33: error: 'struct kk' has no member named 'num'
   for(int j=i+1;i*i+j*j<=que[t].num;j++){
                                 ^
0_0_29560166_14938.cpp:2:12: error: '_int128_t' was not declared in this scope
 #define ll _int128_t 
            ^
0_0_29560166_14938.cpp:26:5: note: in expansion of macro 'll'
     ll a=2*i*j;ll b=i*i-j*j;ll c=i*i+j*j;
     ^
0_0_29560166_14938.cpp:26:19: error: expected ';' before 'b'
     ll a=2*i*j;ll b=i*i-j*j;ll c=i*i+j*j;
                   ^
0_0_29560166_14938.cpp:26:32: error: expected ';' before 'c'
     ll a=2*i*j;ll b=i*i-j*j;ll c=i*i+j*j;
                                ^
0_0_29560166_14938.cpp:27:8: error: 'a' was not declared in this scope
     if(a*a+b*b!=c*c)continue;
        ^
0_0_29560166_14938.cpp:27:12: error: 'b' was not declared in this scope
     if(a*a+b*b!=c*c)continue;
            ^
0_0_29560166_14938.cpp:27:17: error: 'c' was not declared in this scope
     if(a*a+b*b!=c*c)continue;
                 ^
0_0_29560166_14938.cpp:29:9: error: 'c' was not declared in this scope
      if(c<=que[w].num){
         ^
0_0_29560166_14938.cpp:29:19: error: 'struct kk' has no member named 'num'
      if(c<=que[w].num){
                   ^
0_0_29560166_14938.cpp:30:14: error: 'struct kk' has no member named 'ans'
       que[w].ans++;
              ^
0_0_29560166_14938.cpp: In function 'int main()':
0_0_29560166_14938.cpp:40:24: error: 'struct kk' has no member named 'num'
   scanf("%lld",&que[i].num);
                        ^
0_0_29560166_14938.cpp:41:23: error: 'struct kk' has no member named 'ans'
   que[i].pos=i;que[i].ans=0;
                       ^
0_0_29560166_14938.cpp:47:26: error: 'struct kk' has no member named 'ans'
   printf("%lld\n",que[i].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-05-19 04:19:55, Gzip enabled