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_24302154_6580.cpp:1:1: error: stray '\346' in program
 求指点~
 ^
0_0_24302154_6580.cpp:1:1: error: stray '\261' in program
0_0_24302154_6580.cpp:1:1: error: stray '\202' in program
0_0_24302154_6580.cpp:1:1: error: stray '\346' in program
0_0_24302154_6580.cpp:1:1: error: stray '\214' in program
0_0_24302154_6580.cpp:1:1: error: stray '\207' in program
0_0_24302154_6580.cpp:1:1: error: stray '\347' in program
0_0_24302154_6580.cpp:1:1: error: stray '\202' in program
0_0_24302154_6580.cpp:1:1: error: stray '\271' in program
0_0_24302154_6580.cpp:1:1: error: stray '\357' in program
0_0_24302154_6580.cpp:1:1: error: stray '\275' in program
0_0_24302154_6580.cpp:1:1: error: stray '\236' in program
0_0_24302154_6580.cpp: In function 'void siftPrime(int, primeTable*)':
0_0_24302154_6580.cpp:14:47: error: 'malloc' was not declared in this scope
  flag = (char *)malloc(sizeof(char) * (n >> 1));
                                               ^
0_0_24302154_6580.cpp:15:43: error: 'memset' was not declared in this scope
  memset(flag, '0', sizeof(char) * (n >> 1));
                                           ^
0_0_24302154_6580.cpp:17:19: error: 'sqrt' was not declared in this scope
  sqrtRoot = sqrt(n);
                   ^
0_0_24302154_6580.cpp:28:11: error: 'free' was not declared in this scope
  free(flag);
           ^
0_0_24302154_6580.cpp: In function 'long long int maxPower(long long int, long long int, primeTable*)':
0_0_24302154_6580.cpp:77:53: error: 'malloc' was not declared in this scope
  pf = (primeFactor *)malloc(sizeof(primeFactor) * 50);
                                                     ^
0_0_24302154_6580.cpp:86:9: error: 'free' was not declared in this scope
  free(pf);
         ^
0_0_24302154_6580.cpp: In function 'int main()':
0_0_24302154_6580.cpp:95:79: error: 'malloc' was not declared in this scope
  pt.primeSet = (int *)malloc(sizeof(int) * (((MAXN / 100) >> 1) + (MAXN >> 3)));
                                                                               ^
0_0_24302154_6580.cpp:108:18: error: 'free' was not declared in this scope
  free(pt.primeSet);
                  ^


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-10 12:16:22, Gzip enabled