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_34511821_18653.cpp:1:2: error: expected unqualified-id before '=' token
  = 1; j <= m; j++) {
  ^
0_0_34511821_18653.cpp:1:7: error: 'j' does not name a type
  = 1; j <= m; j++) {
       ^
0_0_34511821_18653.cpp:1:15: error: 'j' does not name a type
  = 1; j <= m; j++) {
               ^
0_0_34511821_18653.cpp:6:3: error: expected unqualified-id before 'for'
   for (i = 1; i <= m; i++) {
   ^
0_0_34511821_18653.cpp:6:15: error: 'i' does not name a type
   for (i = 1; i <= m; i++) {
               ^
0_0_34511821_18653.cpp:6:23: error: 'i' does not name a type
   for (i = 1; i <= m; i++) {
                       ^
0_0_34511821_18653.cpp:9:3: error: expected unqualified-id before 'for'
   for (i = 1; i <= n; i++) {
   ^
0_0_34511821_18653.cpp:9:15: error: 'i' does not name a type
   for (i = 1; i <= n; i++) {
               ^
0_0_34511821_18653.cpp:9:23: error: 'i' does not name a type
   for (i = 1; i <= n; i++) {
                       ^
0_0_34511821_18653.cpp:15:3: error: expected unqualified-id before 'for'
   for (i = 1; i <= n; i++) {
   ^
0_0_34511821_18653.cpp:15:15: error: 'i' does not name a type
   for (i = 1; i <= n; i++) {
               ^
0_0_34511821_18653.cpp:15:23: error: 'i' does not name a type
   for (i = 1; i <= n; i++) {
                       ^
0_0_34511821_18653.cpp:22:3: error: expected unqualified-id before 'for'
   for (i = 1; i < n; i++) {
   ^
0_0_34511821_18653.cpp:22:15: error: 'i' does not name a type
   for (i = 1; i < n; i++) {
               ^
0_0_34511821_18653.cpp:22:22: error: 'i' does not name a type
   for (i = 1; i < n; i++) {
                      ^
0_0_34511821_18653.cpp:25:9: error: expected constructor, destructor, or type conversion before '(' token
   printf("%.2f\n", tx[i]);
         ^
0_0_34511821_18653.cpp:26:3: error: expected unqualified-id before 'for'
   for (i = 1; i < m; i++) {
   ^
0_0_34511821_18653.cpp:26:15: error: 'i' does not name a type
   for (i = 1; i < m; i++) {
               ^
0_0_34511821_18653.cpp:26:22: error: 'i' does not name a type
   for (i = 1; i < m; i++) {
                      ^
0_0_34511821_18653.cpp:29:9: error: expected constructor, destructor, or type conversion before '(' token
   printf("%.2f\n", pj[i]);
         ^
0_0_34511821_18653.cpp:30:9: error: expected constructor, destructor, or type conversion before '(' token
   printf("%d\n\n", k);
         ^
0_0_34511821_18653.cpp:32:2: error: expected declaration before '}' token
  }
  ^


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-29 19:46:08, Gzip enabled