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_31963191_18870.cpp:15:13: error: stray '\241' in program
             scanf(“%d %d”, &a, &b);//模拟一个人说话
             ^
0_0_31963191_18870.cpp:15:13: error: stray '\260' in program
0_0_31963191_18870.cpp:15:13: error: stray '\241' in program
0_0_31963191_18870.cpp:15:13: error: stray '\261' in program
0_0_31963191_18870.cpp:27:9: error: stray '\241' in program
         printf(“%d\n”, an[n]);//循环结束后an[n]保存了最终的结果
         ^
0_0_31963191_18870.cpp:27:9: error: stray '\260' in program
0_0_31963191_18870.cpp:27:9: error: stray '\' in program
0_0_31963191_18870.cpp:27:9: error: stray '\241' in program
0_0_31963191_18870.cpp:27:9: error: stray '\261' in program
0_0_31963191_18870.cpp:3:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_31963191_18870.cpp: In function 'int main()':
0_0_31963191_18870.cpp:8:25: error: 'scanf' was not declared in this scope
     while(scanf("%d", &n) != EOF)
                         ^
0_0_31963191_18870.cpp:8:30: error: 'EOF' was not declared in this scope
     while(scanf("%d", &n) != EOF)
                              ^
0_0_31963191_18870.cpp:10:33: error: 'memset' was not declared in this scope
         memset(dp, 0, sizeof(dp));//申请内存用0初始化数组
                                 ^
0_0_31963191_18870.cpp:13:2: error: 'nbsp' was not declared in this scope
  
  ^
0_0_31963191_18870.cpp:15:21: error: expected primary-expression before '%' token
             scanf(“%d %d”, &a, &b);//模拟一个人说话
                     ^
0_0_31963191_18870.cpp:15:22: error: 'd' was not declared in this scope
             scanf(“%d %d”, &a, &b);//模拟一个人说话
                      ^
0_0_31963191_18870.cpp:24:40: error: 'max' was not declared in this scope
             an[i] = max(an[i], dp[j][i]);
                                        ^
0_0_31963191_18870.cpp:27:18: error: expected primary-expression before '%' token
         printf(“%d\n”, an[n]);//循环结束后an[n]保存了最终的结果
                  ^
0_0_31963191_18870.cpp:27:19: error: 'd' was not declared in this scope
         printf(“%d\n”, an[n]);//循环结束后an[n]保存了最终的结果
                   ^
0_0_31963191_18870.cpp:27:31: error: 'printf' was not declared in this scope
         printf(“%d\n”, an[n]);//循环结束后an[n]保存了最终的结果
                               ^


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-23 09:04:27, Gzip enabled