Compile Error
foo.c:1:9: fatal error: iostream: No such file or directory 1 | #include<iostream> | ^~~~~~~~~~ compilation terminated.
Code
#include<iostream>
using namespace std;
int main()
{
string st[100] , pos , ch , t , count =0;
cin>>t;
for(int i=0; i<t; i++)
{
cin>>st[i];
}
cin>>pos;
for(int i=st.size(); i<=pos; i++)
{
st[i]-=32;
st[i]=st[i+1];
count++;
}
for(int i=0; i<t; i++)
{
cout<<count<<endl;
}
return 0;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1174 IEEE LU SB CHAPTER
- Contest
- Intra LU IEEE Beginner Programming Contest
- Language
- C99 (GCC 13.2.0)
- Submit At
- 2025-02-26 06:17:51
- Judged At
- 2025-02-26 06:17:51
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes