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_29780946_22841.cpp:5:2: error: stray '#' in program
     double grade;
  ^
0_0_29780946_22841.cpp:5:8: error: stray '#' in program
     double grade;
        ^
0_0_29780946_22841.cpp:5:15: error: stray '#' in program
     double grade;
               ^
0_0_29780946_22841.cpp:6:2: error: stray '#' in program
     while (cin >> grade)
  ^
0_0_29780946_22841.cpp:6:8: error: stray '#' in program
     while (cin >> grade)
        ^
0_0_29780946_22841.cpp:6:15: error: stray '#' in program
     while (cin >> grade)
               ^
0_0_29780946_22841.cpp:7:2: error: stray '#' in program
     {
  ^
0_0_29780946_22841.cpp:7:8: error: stray '#' in program
     {
        ^
0_0_29780946_22841.cpp:7:15: error: stray '#' in program
     {
               ^
0_0_29780946_22841.cpp:8:2: error: stray '#' in program
         if (grade < 0 || grade > 100) cout << "Score is error!" << endl;
  ^
0_0_29780946_22841.cpp:8:8: error: stray '#' in program
         if (grade < 0 || grade > 100) cout << "Score is error!" << endl;
        ^
0_0_29780946_22841.cpp:8:15: error: stray '#' in program
         if (grade < 0 || grade > 100) cout << "Score is error!" << endl;
               ^
0_0_29780946_22841.cpp:8:21: error: stray '#' in program
         if (grade < 0 || grade > 100) cout << "Score is error!" << endl;
                     ^
0_0_29780946_22841.cpp:8:27: error: stray '#' in program
         if (grade < 0 || grade > 100) cout << "Score is error!" << endl;
                           ^
0_0_29780946_22841.cpp:8:34: error: stray '#' in program
         if (grade < 0 || grade > 100) cout << "Score is error!" << endl;
                                  ^
0_0_29780946_22841.cpp:9:2: error: stray '#' in program
         else
  ^
0_0_29780946_22841.cpp:9:8: error: stray '#' in program
         else
        ^
0_0_29780946_22841.cpp:9:15: error: stray '#' in program
         else
               ^
0_0_29780946_22841.cpp:9:21: error: stray '#' in program
         else
                     ^
0_0_29780946_22841.cpp:9:27: error: stray '#' in program
         else
                           ^
0_0_29780946_22841.cpp:9:34: error: stray '#' in program
         else
                                  ^
0_0_29780946_22841.cpp:10:2: error: stray '#' in program
         {
  ^
0_0_29780946_22841.cpp:10:8: error: stray '#' in program
         {
        ^
0_0_29780946_22841.cpp:10:15: error: stray '#' in program
         {
               ^
0_0_29780946_22841.cpp:10:21: error: stray '#' in program
         {
                     ^
0_0_29780946_22841.cpp:10:27: error: stray '#' in program
         {
                           ^
0_0_29780946_22841.cpp:10:34: error: stray '#' in program
         {
                                  ^
0_0_29780946_22841.cpp:11:2: error: stray '#' in program
             char level;
  ^
0_0_29780946_22841.cpp:11:8: error: stray '#' in program
             char level;
        ^
0_0_29780946_22841.cpp:11:15: error: stray '#' in program
             char level;
               ^
0_0_29780946_22841.cpp:11:21: error: stray '#' in program
             char level;
                     ^
0_0_29780946_22841.cpp:11:27: error: stray '#' in program
             char level;
                           ^
0_0_29780946_22841.cpp:11:34: error: stray '#' in program
             char level;
                                  ^
0_0_29780946_22841.cpp:11:40: error: stray '#' in program
             char level;
                                        ^
0_0_29780946_22841.cpp:11:46: error: stray '#' in program
             char level;
                                              ^
0_0_29780946_22841.cpp:11:53: error: stray '#' in program
             char level;
                                                     ^
0_0_29780946_22841.cpp:12:2: error: stray '#' in program
             if (grade >= 90) level = 'A';
  ^
0_0_29780946_22841.cpp:12:8: error: stray '#' in program
             if (grade >= 90) level = 'A';
        ^
0_0_29780946_22841.cpp:12:15: error: stray '#' in program
             if (grade >= 90) level = 'A';
               ^
0_0_29780946_22841.cpp:12:21: error: stray '#' in program
             if (grade >= 90) level = 'A';
                     ^
0_0_29780946_22841.cpp:12:27: error: stray '#' in program
             if (grade >= 90) level = 'A';
                           ^
0_0_29780946_22841.cpp:12:34: error: stray '#' in program
             if (grade >= 90) level = 'A';
                                  ^
0_0_29780946_22841.cpp:12:40: error: stray '#' in program
             if (grade >= 90) level = 'A';
                                        ^
0_0_29780946_22841.cpp:12:46: error: stray '#' in program
             if (grade >= 90) level = 'A';
                                              ^
0_0_29780946_22841.cpp:12:53: error: stray '#' in program
             if (grade >= 90) level = 'A';
                                                     ^
0_0_29780946_22841.cpp:13:2: error: stray '#' in program
             else if (grade >= 80) level = 'B';
  ^
0_0_29780946_22841.cpp:13:8: error: stray '#' in program
             else if (grade >= 80) level = 'B';
        ^
0_0_29780946_22841.cpp:13:15: error: stray '#' in program
             else if (grade >= 80) level = 'B';
               ^
0_0_29780946_22841.cpp:13:21: error: stray '#' in program
             else if (grade >= 80) level = 'B';
                     ^
0_0_29780946_22841.cpp:13:27: error: stray '#' in program
             else if (grade >= 80) level = 'B';
                           ^
0_0_29780946_22841.cpp:13:34: error: stray '#' in program
             else if (grade >= 80) level = 'B';
                                  ^
0_0_29780946_22841.cpp:13:40: error: stray '#' in program
             else if (grade >= 80) level = 'B';
                                        ^
0_0_29780946_22841.cpp:13:46: error: stray '#' in program
             else if (grade >= 80) level = 'B';
                                              ^
0_0_29780946_22841.cpp:13:53: error: stray '#' in program
             else if (grade >= 80) level = 'B';
                                                     ^
0_0_29780946_22841.cpp:14:2: error: stray '#' in program
             else if (grade >= 70) level = 'C';
  ^
0_0_29780946_22841.cpp:14:8: error: stray '#' in program
             else if (grade >= 70) level = 'C';
        ^
0_0_29780946_22841.cpp:14:15: error: stray '#' in program
             else if (grade >= 70) level = 'C';
               ^
0_0_29780946_22841.cpp:14:21: error: stray '#' in program
             else if (grade >= 70) level = 'C';
                     ^
0_0_29780946_22841.cpp:14:27: error: stray '#' in program
             else if (grade >= 70) level = 'C';
                           ^
0_0_29780946_22841.cpp:14:34: error: stray '#' in program
             else if (grade >= 70) level = 'C';
                                  ^
0_0_29780946_22841.cpp:14:40: error: stray '#' in program
             else if (grade >= 70) level = 'C';
                                        ^
0_0_29780946_22841.cpp:14:46: error: stray '#' in program
             else if (grade >= 70) level = 'C';
                                              ^
0_0_29780946_22841.cpp:14:53: error: stray '#' in program
             


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-17 16:34:54, Gzip enabled