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_24511021_10029.cpp: In function 'long int readd(char*)':
0_0_24511021_10029.cpp:9:54: error: expected initializer before 'asm'
 ({register uLL linux_kernel_system_call_return_value asm("rax");\
                                                      ^
0_0_24511021_10029.cpp:51:15: note: in expansion of macro 'read'
  if (i>=k) {k=read(0,buf,2000000);if (k==0) {return 0;}i=0;goto RE;}
               ^
0_0_24511021_10029.cpp:16:2: error: expected ')' before ':' token
  :"=m"(*((char*)(buf))):[p1]"g"((long long)(fd)),[p2]"g"((char*)(buf)),[p3]"g"((long long)(count))\
  ^
0_0_24511021_10029.cpp:51:15: note: in expansion of macro 'read'
  if (i>=k) {k=read(0,buf,2000000);if (k==0) {return 0;}i=0;goto RE;}
               ^
0_0_24511021_10029.cpp:16:51: error: 'p2' was not declared in this scope
  :"=m"(*((char*)(buf))):[p1]"g"((long long)(fd)),[p2]"g"((char*)(buf)),[p3]"g"((long long)(count))\
                                                   ^
0_0_24511021_10029.cpp:51:15: note: in expansion of macro 'read'
  if (i>=k) {k=read(0,buf,2000000);if (k==0) {return 0;}i=0;goto RE;}
               ^
0_0_24511021_10029.cpp: In lambda function:
0_0_24511021_10029.cpp:16:54: error: expected '{' before string constant
  :"=m"(*((char*)(buf))):[p1]"g"((long long)(fd)),[p2]"g"((char*)(buf)),[p3]"g"((long long)(count))\
                                                      ^
0_0_24511021_10029.cpp:51:15: note: in expansion of macro 'read'
  if (i>=k) {k=read(0,buf,2000000);if (k==0) {return 0;}i=0;goto RE;}
               ^
0_0_24511021_10029.cpp: In function 'long int readd(char*)':
0_0_24511021_10029.cpp:16:54: error: expected ')' before string constant
  :"=m"(*((char*)(buf))):[p1]"g"((long long)(fd)),[p2]"g"((char*)(buf)),[p3]"g"((long long)(count))\
                                                      ^
0_0_24511021_10029.cpp:51:15: note: in expansion of macro 'read'
  if (i>=k) {k=read(0,buf,2000000);if (k==0) {return 0;}i=0;goto RE;}
               ^
0_0_24511021_10029.cpp:16:73: error: 'p3' was not declared in this scope
  :"=m"(*((char*)(buf))):[p1]"g"((long long)(fd)),[p2]"g"((char*)(buf)),[p3]"g"((long long)(count))\
                                                                         ^
0_0_24511021_10029.cpp:51:15: note: in expansion of macro 'read'
  if (i>=k) {k=read(0,buf,2000000);if (k==0) {return 0;}i=0;goto RE;}
               ^
0_0_24511021_10029.cpp: In lambda function:
0_0_24511021_10029.cpp:16:76: error: expected '{' before string constant
  :"=m"(*((char*)(buf))):[p1]"g"((long long)(fd)),[p2]"g"((char*)(buf)),[p3]"g"((long long)(count))\
                                                                            ^
0_0_24511021_10029.cpp:51:15: note: in expansion of macro 'read'
  if (i>=k) {k=read(0,buf,2000000);if (k==0) {return 0;}i=0;goto RE;}
               ^
0_0_24511021_10029.cpp: In function 'long int readd(char*)':
0_0_24511021_10029.cpp:16:76: error: expected ')' before string constant
  :"=m"(*((char*)(buf))):[p1]"g"((long long)(fd)),[p2]"g"((char*)(buf)),[p3]"g"((long long)(count))\
                                                                            ^
0_0_24511021_10029.cpp:51:15: note: in expansion of macro 'read'
  if (i>=k) {k=read(0,buf,2000000);if (k==0) {return 0;}i=0;goto RE;}
               ^
0_0_24511021_10029.cpp:17:44: error: 'asm' was not declared in this scope
  :"%rax","%rcx","%r11","%rdi","%rdx","%rsi");\
                                            ^
0_0_24511021_10029.cpp:51:15: note: in expansion of macro 'read'
  if (i>=k) {k=read(0,buf,2000000);if (k==0) {return 0;}i=0;goto RE;}
               ^
0_0_24511021_10029.cpp:18:1: error: 'linux_kernel_system_call_return_value' was not declared in this scope
 linux_kernel_system_call_return_value;})
 ^
0_0_24511021_10029.cpp:51:15: note: in expansion of macro 'read'
  if (i>=k) {k=read(0,buf,2000000);if (k==0) {return 0;}i=0;goto RE;}
               ^
0_0_24511021_10029.cpp:51:14: error: void value not ignored as it ought to be
  if (i>=k) {k=read(0,buf,2000000);if (k==0) {return 0;}i=0;goto RE;}
              ^


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-30 05:53:51, Gzip enabled