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_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
    1 | include<iostream>
      |         ^~~~~~~~
0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
0_0_39399374_20551.cpp:1:9: error: 'iostream' was not declared in this scope
0_0_39399374_20551.cpp:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
0_0_39399374_20551.cpp: In function 'void insert(SequentialList*, int, int)':
0_0_39399374_20551.cpp:40:28: error: 'invalid_argument' is not a member of 'std'
   40 |                 throw std::invalid_argument("Invail index");
      |                            ^~~~~~~~~~~~~~~~
0_0_39399374_20551.cpp:1:1: note: 'std::invalid_argument' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'?
  +++ |+#include <stdexcept>
    1 | include<iostream>
0_0_39399374_20551.cpp: In function 'void deleteElement(SequentialList*, int)':
0_0_39399374_20551.cpp:62:28: error: 'invalid_argument' is not a member of 'std'
   62 |                 throw std::invalid_argument("Invail index");
      |                            ^~~~~~~~~~~~~~~~
0_0_39399374_20551.cpp:62:28: note: 'std::invalid_argument' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'?
0_0_39399374_20551.cpp: In function 'int getElement(SequentialList*, int)':
0_0_39399374_20551.cpp:84:28: error: 'invalid_argument' is not a member of 'std'
   84 |                 throw std::invalid_argument("Invail index");
      |                            ^~~~~~~~~~~~~~~~
0_0_39399374_20551.cpp:84:28: note: 'std::invalid_argument' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'?
0_0_39399374_20551.cpp: In function 'void updateElement(SequentialList*, int, int)':
0_0_39399374_20551.cpp:92:28: error: 'invalid_argument' is not a member of 'std'
   92 |                 throw std::invalid_argument("Invail index");
      |                            ^~~~~~~~~~~~~~~~
0_0_39399374_20551.cpp:92:28: note: 'std::invalid_argument' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'?
0_0_39399374_20551.cpp: In function 'int main()':
0_0_39399374_20551.cpp:99:15: error: 'cin' was not declared in this scope
   99 |         while(cin>>n){
      |               ^~~
0_0_39399374_20551.cpp:114:17: error: 'cout' was not declared in this scope
  114 |                 cout<<prod<<endl;
      |                 ^~~~
0_0_39399374_20551.cpp:114:29: error: 'endl' was not declared in this scope
  114 |                 cout<<prod<<endl;
      |                             ^~~~


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-06-29 17:01:23, Gzip enabled