criyle/codenet-compile-errors huggingface dataset:
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main() {
int x;
  for(int i=1;;i++) {
    cine >> x;
  if(x==0){
    break;
   }
     cout<< "Case "<< i << x  <<endl;
    } 
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'cine' was not declared in this scope
    7 |     cine >> x;
      |     ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main() {
int x;
  for(int i=1;;i++) {
    cine >> x;
    cout<< "Case "<< i << x  <<endl;
  if(x==0){
    break;
   }
    } 
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'cine' was not declared in this scope
    7 |     cine >> x;
      |     ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main(){
    int x;
    for (int i=1;i<=10000) {
        int x;
	cin >>x;
        cout<<"Case "<<i<<":"<<x;
        if( x == 0 )  {
           break;
        }
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:26: error: expected ';' before ')' token
    6 |     for (int i=1;i<=10000) {
      |                          ^
      |                          ;
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
    
    int x;
    
    int i = 0;
    
    for( i = 1 ; i < 10001 ; i++ ){
        cin>>x;
        
        if(x == 0) break;
        
        cout<<"Case "<<i<<":"endl;
        
    }
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:27: error: unable to find string literal operator 'operator""endl' with 'const char [2]', 'long unsigned int' arguments
   15 |         cout<<"Case "<<i<<":"endl;
      |                           ^~~~~~~
Language: C++

#Include <bits/stdc++.h>
using namespace std;

int main(){
for(int i=1;;i++){
int x;
cin>>x;
if(x==0){break;
return 0;
}
else{
count<<"Case "<<i<<"; "<<x<<endl;
}
}

}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #Include; did you mean #include?
    1 | #Include <bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:1: error: 'cin' was not declared in this scope
    7 | cin>>x;
      | ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #Include <bits/stdc++.h>
a.cc:12:1: error: 'count' was not declared in this scope
   12 | count<<"Case "<<i<<"; "<<x<<endl;
      | ^~~~~
a.cc:12:29: error: 'endl' was not declared in this scope
   12 | count<<"Case "<<i<<"; "<<x<<endl;
      |                             ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #Include <bits/stdc++.h>
Language: C++

#Include <iostream>
using namespace std;

int main(){
for(int i=1;;i++){
int x;
cin>>x;
if(x==0){break;
return 0;
}
else{
count<<"Case "<<i<<"; "<<x<<endl;
}
}

}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #Include; did you mean #include?
    1 | #Include <iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:1: error: 'cin' was not declared in this scope
    7 | cin>>x;
      | ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #Include <iostream>
a.cc:12:1: error: 'count' was not declared in this scope
   12 | count<<"Case "<<i<<"; "<<x<<endl;
      | ^~~~~
a.cc:12:29: error: 'endl' was not declared in this scope
   12 | count<<"Case "<<i<<"; "<<x<<endl;
      |                             ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #Include <iostream>
Language: C++

#Include <iostream>


int main(){
for(int i=1;;i++){
int x;
cin>>x;
if(x==0){break;
return 0;
}
else{
count<<"Case "<<i<<"; "<<x<<endl;
}
}

}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #Include; did you mean #include?
    1 | #Include <iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:1: error: 'cin' was not declared in this scope
    7 | cin>>x;
      | ^~~
a.cc:12:1: error: 'count' was not declared in this scope
   12 | count<<"Case "<<i<<"; "<<x<<endl;
      | ^~~~~
a.cc:12:29: error: 'endl' was not declared in this scope
   12 | count<<"Case "<<i<<"; "<<x<<endl;
      |                             ^~~~
Language: C++

#Include <isotherm>


int main(){
for(int i=1;;i++){
int x;
cin>>x;
if(x==0){break;
return 0;
}
else{
count<<"Case "<<i<<"; "<<x<<endl;
}
}

}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #Include; did you mean #include?
    1 | #Include <isotherm>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:1: error: 'cin' was not declared in this scope
    7 | cin>>x;
      | ^~~
a.cc:12:1: error: 'count' was not declared in this scope
   12 | count<<"Case "<<i<<"; "<<x<<endl;
      | ^~~~~
a.cc:12:29: error: 'endl' was not declared in this scope
   12 | count<<"Case "<<i<<"; "<<x<<endl;
      |                             ^~~~
Language: C++

#Include <iostream>
using namespace std;

int main(){
for(int i=1;;i++){
int x;
cin>>x;
if(x==0){break;

}
else{
count<<"Case "<<i<<"; "<<x<<endl;
}
}
return 0
}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #Include; did you mean #include?
    1 | #Include <iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:1: error: 'cin' was not declared in this scope
    7 | cin>>x;
      | ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #Include <iostream>
a.cc:12:1: error: 'count' was not declared in this scope
   12 | count<<"Case "<<i<<"; "<<x<<endl;
      | ^~~~~
a.cc:12:29: error: 'endl' was not declared in this scope
   12 | count<<"Case "<<i<<"; "<<x<<endl;
      |                             ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #Include <iostream>
a.cc:15:9: error: expected ';' before '}' token
   15 | return 0
      |         ^
      |         ;
   16 | }
      | ~
Language: C++

#include <iostream>
using namespace std;

int main(){
for(int i=1;;i++){
int x;
cin>>x;
if(x==0){break;

}
else{
count<<"Case "<<i<<"; "<<x<<endl;
}
}
return 0
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:1: error: 'count' was not declared in this scope
   12 | count<<"Case "<<i<<"; "<<x<<endl;
      | ^~~~~
a.cc:15:9: error: expected ';' before '}' token
   15 | return 0
      |         ^
      |         ;
   16 | }
      | ~
Language: C++

#include <iostream>
using namespace std;
int main (){
int i, x;
x = 1
i = 0
while(x != 0){
	cin >> x;
	i++
	cout << "Case " << i << ": "<< x << endl;
}

}



Compiler output:
a.cc: In function 'int main()':
a.cc:5:6: error: expected ';' before 'i'
    5 | x = 1
      |      ^
      |      ;
    6 | i = 0
      | ~
Language: C++

#include <iostream>
using namespace std;
int main (){
int i, x;
x = 1
i = 0
while(x != 0){
	cin >> x;
	i++;
	cout << "Case " << i << ": "<< x << endl;
}

}



Compiler output:
a.cc: In function 'int main()':
a.cc:5:6: error: expected ';' before 'i'
    5 | x = 1
      |      ^
      |      ;
    6 | i = 0
      | ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
    for(int i=1;;i++){
    	int x;
	cin>>x;
	if(x==0) break;
	cout<<"Case "<<i<<:<<X<<endl;    
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:27: error: expected primary-expression before ':' token
    8 |         cout<<"Case "<<i<<:<<X<<endl;
      |                           ^
Language: C++

#include <iostream>

using namespace std;

int main()
{
  int n = 0;
  int data[10000] = 0;

  cin >> n;
  
  for(int i = 0;i < n;i++)
    {
      cin >> data[i];
      
      cout << "Case " << (i+1) << ": " << data[i] << endl; 
    }
  
  return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: array must be initialized with a brace-enclosed initializer
    8 |   int data[10000] = 0;
      |                     ^
Language: C++

#include<bits.stdc++.h>
using namespace;

int main(){
int a,i;
i=1
while(1){
cin>>a;
if(a==0){break;}
else{
cout<<"Case "<<i<<": "<<a<<endl;
}
}
return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits.stdc++.h>
using namespace;

int main(){
int a,i;
i=1;
while(1){
cin>>a;
if(a==0){break;}
else{
cout<<"Case "<<i<<": "<<a<<endl;
}
}
return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits.stdc++.h>
using namespace;

int main(){
int a,i;
i=1;
while(1){
cin>>a;
if(a==0){break;}

cout<<"Case "<<i<<": "<<a<<endl;

}
return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits.stdc++.h>
using namespace;

int main(){
int a,i;
i=1;
while(1){
cin>>a;
if(a==0){break;}

cout<<"Case "<<i<<": "<<a<<endl;
i++;
}
return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits.stdc++.h>
using namespace;

int main(){
int a,i;
i=1;
while(1){
cin>>a;
if(a==0)break;

cout<<"Case "<<i<<": "<<a<<endl;
i++;
}
return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits.stdc++.h>
using namespace;

int main(){
int a,i;
i=1;
while(1){
cin>>a;
if(a==0) break;

cout<<"Case "<<i<<": "<<a<<endl;
i++;
}
return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits.stdc++.h>
using namespace;

int main(){
int a,i;
i=1;
for(i=1;;i++){
cin>>a;
if(a==0) break;

cout<<"Case "<<i<<": "<<a<<endl;
}
return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits.stdc++.h>
using namespace;

int main(){
int a,i;

for(i=1;;i++){
cin>>a;
if(a==0) break;

cout<<"Case "<<i<<": "<<a<<endl;
}
return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits.stdc++.h>
using namespace;

int main(){
int a;

for(int i=1;;i++){
cin>>a;
if(a==0) break;

cout<<"Case "<<i<<": "<<a<<endl;
}
return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits.stdc++.h>
using namespace std;

int main(){
int a;

for(int i=1;;i++){
cin>>a;
if(a==0) break;

cout<<"Case "<<i<<": "<<a<<endl;
}
return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits.stdc++.h>
using namespace std;

int main(){
for(int i=1;;i++){
int a;
cin>>a;
if(a==0) break;

cout<<"Case "<<i<<": "<<a<<endl;
}
return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits.stdc++.h>
using namespace std;

int main(){
for(int i=1; ;i++){
int a;
cin>>a;
if(a==0) break;

cout<<"Case "<<i<<": "<<a<<endl;
}
return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits.stdc++.h>
using namespace std;

int main(){
for(int i=1; ;i++){
int a;
cin>>a;
if(a==0) break;

cout<<"Case "<<i<<": ";
cout<<a<<endl;
}
return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits.stdc++.h>
using namespace std;

int main(){
for(int i=1; ;i++){
int a;
cin>>a;
if(a==0) break;

cout<<"Case "<<i<<": ";
cout<<al;
}
return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits.stdc++.h>
using namespace std;

int main(){
for(int i=1; ;i++){
int a;
cin>>a;
if(a==0) break;

cout<<"Case "<<i<<": ";
cout<<a;
}
return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits.stdc++.h>
using namespace std;

int main(){
for(int i=1; ;i++){
int a;
cin>>a;
if(a==0) {break;}

cout<<"Case "<<i<<": ";
cout<<a<<endl;
}
return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits.stdc++.h>
using namespace std;

int main(void){
for(int i=1; ;i++){
int a;
cin>>a;
if(a==0) {break;}

cout<<"Case "<<i<<": ";
cout<<a<<endl;
}
return 0;
}


Compiler output:
a.cc:1:10: fatal error: bits.stdc++.h: No such file or directory
    1 | #include <bits.stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits.stdc++.h>
using namespace std;

int main(void){

for(int i=1; ;i++){
int a;
cin>>a;
if(a==0) {break;};
cout<<"Case "<<i<<": ";
cout<<a<<endl;
}

return 0;
}


Compiler output:
a.cc:1:10: fatal error: bits.stdc++.h: No such file or directory
    1 | #include <bits.stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits.stdc++.h>
using namespace std;

int main(void){

for(int i=1; ;i++){
int a;
cin>>a;
if(a==0) {break;};
cout<<"Case "<<i<<": "<<a<<endl;
}

return 0;
}


Compiler output:
a.cc:1:10: fatal error: bits.stdc++.h: No such file or directory
    1 | #include <bits.stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>

using namespace std;

int main()
{
  int j = 0;
  int data[10000];
  
  while(1)
  {
      cin >> data[j];
      if(data[j] == 0)
      {
          break;
      }
      j++;
  }
  for(int k = 0;k < i;k++)
  {
      cout << "Case " << k+1 << ": " << data[k] << endl; 
  }
  
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:19:21: error: 'i' was not declared in this scope
   19 |   for(int k = 0;k < i;k++)
      |                     ^
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main(){
    int x;
    if(int i=1;i++) {
    cin>>x;
    if (x==0) break;
    cout<<"Case "<<i<<": "<<x<<endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: break statement not within loop or switch
    8 |     if (x==0) break;
      |               ^~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main(){
    int x;
    while(1) {
    cin>>x;
    int i=0;
    i =i+1
    if (x==0) break;
    cout<<"Case "<<i<<": "<<x<<endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: expected ';' before 'if'
    9 |     i =i+1
      |           ^
      |           ;
   10 |     if (x==0) break;
      |     ~~
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main(){
    for (int i=1;i++) {
    int x;
    cin>>x;
    if (x==0) break;
    cout<<"Case "<<i<<": "<<x<<endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:21: error: expected ';' before ')' token
    5 |     for (int i=1;i++) {
      |                     ^
      |                     ;
Language: C++

#include<iostream>
using namespace std;

int main(){
    int w,h,x,y,r;
    for(i=0;;i++){
       int x;
       cin >> x;
       if(x == 0)break;
       cout<<"Case " << i << ":" << endl;
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'i' was not declared in this scope
    6 |     for(i=0;;i++){
      |         ^
Language: C++

#include <iostream>
using namespace std;
int main(void){
    int a;
    int num = 1;
    while(TRUE){
        cin >> a;
        cout << "Case " << num << ":"<< a << endl;
        if(a == 0)
            break;
        num++;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: 'TRUE' was not declared in this scope
    6 |     while(TRUE){
      |           ^~~~
Language: C++

#include<bits/stdc++,h>
using namespace std;

int main(){

if(int i=1;;i++){

int x;
cin x;
if(x==0)break;
cout<<"Case"<<i<<":"<<x<<endl;
}

return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits/stdc++,h: No such file or directory
    1 | #include<bits/stdc++,h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++,h>
using namespace std;

int main(){

if(int i=1;;i++){

int x;
ci>>x;
if(x==0)break;
cout<<"Case"<<i<<":"<<x<<endl;
}

return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits/stdc++,h: No such file or directory
    1 | #include<bits/stdc++,h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++,h>
using namespace std;

int main(){

if(int i=1;;i++){

int x;
cin>>x;
if(x==0)break;
cout<<"Case"<<i<<":"<<x<<endl;
}

return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits/stdc++,h: No such file or directory
    1 | #include<bits/stdc++,h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main(){

if(int i=1;;i++){

int x;
cin>>x;
if(x==0)break;
cout<<"Case"<<i<<":"<<x<<endl;
}

return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: expected primary-expression before ';' token
    6 | if(int i=1;;i++){
      |            ^
a.cc:6:12: error: expected ')' before ';' token
    6 | if(int i=1;;i++){
      |   ~        ^
      |            )
a.cc:6:13: error: 'i' was not declared in this scope
    6 | if(int i=1;;i++){
      |             ^
Language: C++

#include <iostream>using namespace std;int main(){int x;for(int i=1;;i++){cin>>x;if(x==0){break;}else{cout<<"Case"<<i<<";"<<x<<endl;}}return 0;}


Compiler output:
a.cc:1:26: warning: extra tokens at end of #include directive
    1 | #include <iostream>using namespace std;int main(){int x;for(int i=1;;i++){cin>>x;if(x==0){break;}else{cout<<"Case"<<i<<";"<<x<<endl;}}return 0;}
      |                          ^~~~~~~~~
a.cc:1:10: fatal error: iostream>usin: No such file or directory
    1 | #include <iostream>using namespace std;int main(){int x;for(int i=1;;i++){cin>>x;if(x==0){break;}else{cout<<"Case"<<i<<";"<<x<<endl;}}return 0;}
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>using namespace std;int main(){int x;for(int i=1;;i++){cin>>x;if(x==0){break;}else{cout<<"Case"<<i<<":"<<x<<endl;}}return 0;}


Compiler output:
a.cc:1:26: warning: extra tokens at end of #include directive
    1 | #include <iostream>using namespace std;int main(){int x;for(int i=1;;i++){cin>>x;if(x==0){break;}else{cout<<"Case"<<i<<":"<<x<<endl;}}return 0;}
      |                          ^~~~~~~~~
a.cc:1:10: fatal error: iostream>usin: No such file or directory
    1 | #include <iostream>using namespace std;int main(){int x;for(int i=1;;i++){cin>>x;if(x==0){break;}else{cout<<"Case"<<i<<":"<<x<<endl;}}return 0;}
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>using namespace std;int main(){int x;for(int i=1;;i++){cin>>x;if(x==0){break;}else{cout<<"Case"<<i<<":"<<x<<endl;}}return 0;}


Compiler output:
a.cc:1:25: warning: extra tokens at end of #include directive
    1 | #include<iostream>using namespace std;int main(){int x;for(int i=1;;i++){cin>>x;if(x==0){break;}else{cout<<"Case"<<i<<":"<<x<<endl;}}return 0;}
      |                         ^~~~~~~~~
a.cc:1:9: fatal error: iostream>usin: No such file or directory
    1 | #include<iostream>using namespace std;int main(){int x;for(int i=1;;i++){cin>>x;if(x==0){break;}else{cout<<"Case"<<i<<":"<<x<<endl;}}return 0;}
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream> using namespace std; int main(){int x; for(int i=1 ;; i++){cin>>x; if(x==0){break;}else{cout<<"Case"<<"  "<<i<<":"<<" "<<x<<endl;}}return 0;}


Compiler output:
a.cc:1:21: warning: extra tokens at end of #include directive
    1 | #include <iostream> using namespace std; int main(){int x; for(int i=1 ;; i++){cin>>x; if(x==0){break;}else{cout<<"Case"<<"  "<<i<<":"<<" "<<x<<endl;}}return 0;}
      |                     ^~~~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include<iostream>
using namespace std;

int main() 
{
	int i,x;
	
	while
	{
		if (x == 0)break;
		cin >> x;
		cout << "Case " << i << ": " << x << endl;
		i++;
	}
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: expected '(' before '{' token
    9 |         {
      |         ^
      |         (
a.cc:9:9: error: expected primary-expression before '{' token
a.cc:8:14: error: expected ')' before '{' token
    8 |         while
      |              ^
      |              )
    9 |         {
      |         ~
Language: C++

import java.util.*;

public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		int a ;
		int cnt = 1;
		
		while(true) {
			a = sc.nextInt();
			if (a!=0) {
				System.out.println("Case "+cnt+": "+a);
			}else {
				break;
			}
			cnt++;
		}
		
		
	}

}



Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main {
      | ^~~~~~
Language: C++

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        for (int i = 1; ; i++) {
            int x = sc.nextInt();
            if(x == 0) {
                break;
            }
            System.out.printf("Case" + i + ": " + x + "\n");
        }
    }
}



Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.Scanner;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main {
      | ^~~~~~
Language: C++

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        for (int i = 1; ; i++) {
            int x = sc.nextInt();
            if(x == 0) {
                break;
            }
            System.out.printf("Case %d: %d\n",i,x);
        }
    }
}



Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.Scanner;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main {
      | ^~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  

for (int i-1;;i++){
int x;
cin>>x;
if(x == 0) break;
cout<<"case "<<i<<": "<<x<<endl;
}

return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected ';' before '-' token
    7 | for (int i-1;;i++){
      |           ^
      |           ;
a.cc:7:14: error: expected primary-expression before ';' token
    7 | for (int i-1;;i++){
      |              ^
a.cc:7:14: error: expected ')' before ';' token
    7 | for (int i-1;;i++){
      |     ~        ^
      |              )
a.cc:7:15: error: 'i' was not declared in this scope
    7 | for (int i-1;;i++){
      |               ^
Language: C++

//itp1_topic3_b
#include <bits/stdc++>
using namespace std;

int main(){

	for(int i=1;;i++){
		int x;
		cin>>x;
		if(c == 0) break;
		cout<<"Case :<<i<<": "<<x<<endl;
	}

	return 0

}


Compiler output:
a.cc:2:10: fatal error: bits/stdc++: No such file or directory
    2 | #include <bits/stdc++>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

//itp1_topic3_b
#include <bits/stdc++>
using namespace std;

int main(){

	for(int i=1;;i++){
		int x;
		cin>>x;
		if(c == 0) break;
		cout<<"Case ":<<i<<": "<<x<<endl;
	}

	return 0

}


Compiler output:
a.cc:2:10: fatal error: bits/stdc++: No such file or directory
    2 | #include <bits/stdc++>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

//itp1_topic3_b
#include <bits/stdc++>
using namespace std;

int main(){

	for(int i=1;;i++){
		int x;
		cin>>x;
		if(c == 0) break;
		cout<<"Case "<<i<<": "<<x<<endl;
	}

	return 0

}


Compiler output:
a.cc:2:10: fatal error: bits/stdc++: No such file or directory
    2 | #include <bits/stdc++>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

//itp1_topic3_b
#include <bits/stdc++>
using namespace std;

int main(){

	for(int i=1;;i++){
		int x;
		cin>>x;
		if(c == 0) break;
		cout<<"Case "<<i<<": "<<x<<endl;
	}

	return 0;

}


Compiler output:
a.cc:2:10: fatal error: bits/stdc++: No such file or directory
    2 | #include <bits/stdc++>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

//itp1_topic3_b
#include <bits/stdc++>
using namespace std;

int main(){

	for(int i=1;;i++){
		int x;
		cin>>x;
		if(x == 0) break;
		cout<<"Case "<<i<<": "<<x<<endl;
	}

	return 0;

}


Compiler output:
a.cc:2:10: fatal error: bits/stdc++: No such file or directory
    2 | #include <bits/stdc++>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++.h>
using namespace std;


int main(){
 for(int i=1,,i++ ){ 
 int x;
 cin>>x;
 if(x == 0) break;
 cout<<" Case "<<i<<": "<<x<<endl;
}

}
 



Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: expected unqualified-id before ',' token
    6 |  for(int i=1,,i++ ){
      |              ^
a.cc:6:16: error: expected ';' before '++' token
    6 |  for(int i=1,,i++ ){
      |                ^~
      |                ;
a.cc:6:19: error: expected primary-expression before ')' token
    6 |  for(int i=1,,i++ ){
      |                   ^
a.cc:6:18: error: expected ';' before ')' token
    6 |  for(int i=1,,i++ ){
      |                  ^~
      |                  ;
Language: C++

#include <iostream>

int main(int argc, char* argv[]) {
  for(int i = 1; i < argc; ++i) {
    if(argv[i] = 0){
      break;
    }else{
      std::cout << "Case 1:" << argv[i] << std::endl;
    }
}


Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:10:2: error: expected '}' at end of input
   10 | }
      |  ^
a.cc:3:34: note: to match this '{'
    3 | int main(int argc, char* argv[]) {
      |                                  ^
Language: C++

#include <iostream>
using namespace std;

int main() {
	// your code goes here
	int i = 1;
	int value;
	whike( 1 ){
		cin >> value;
		if( value == 0){
			break;
		}
		else{
			cout << "case " << i << ": " << value << endl;
			++i;
		}
		
	}
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'whike' was not declared in this scope
    8 |         whike( 1 ){
      |         ^~~~~
Language: C++

#include <iostream>
using namespace std;

int main() {
	int i = 1;
	int value;
	while( 1 ){
		cin >> value
		if( value == 0){
			break;
		}
		else{
			cout << "case " << i << ": " << value << endl;
			++i;
		}
		
	}
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:29: error: expected ';' before 'if'
    8 |                 cin >> value
      |                             ^
      |                             ;
    9 |                 if( value == 0){
      |                 ~~           
a.cc:12:17: error: 'else' without a previous 'if'
   12 |                 else{
      |                 ^~~~
Language: C++

#include <iostream>
 int main() {
  int x;
   for (i = 0; int == 0;) {
    std::cin >> x;
     std::cout << x <<std::endl;
      if (x == 0) break;
    }






 retuen 0;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'i' was not declared in this scope
    4 |    for (i = 0; int == 0;) {
      |         ^
a.cc:4:20: error: expected unqualified-id before '==' token
    4 |    for (i = 0; int == 0;) {
      |                    ^~
a.cc:15:2: error: 'retuen' was not declared in this scope
   15 |  retuen 0;
      |  ^~~~~~
Language: C++

#include <iostream>
 int main() {
  int x;
   for (i = 0; i == 0;) {
    std::cin >> x;
     std::cout << x <<std::endl;
      if (x == 0) break;
    }






 retuen 0;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'i' was not declared in this scope
    4 |    for (i = 0; i == 0;) {
      |         ^
a.cc:15:2: error: 'retuen' was not declared in this scope
   15 |  retuen 0;
      |  ^~~~~~
Language: C++

#include <iostream>
 int main() {
  int x;
   for (int i; i = 0; i == 0;) {
    std::cin >> x;
     std::cout << x <<std::endl;
      if (x == 0) break;
    }






 retuen 0;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:29: error: expected ')' before ';' token
    4 |    for (int i; i = 0; i == 0;) {
      |        ~                    ^
      |                             )
a.cc:4:30: error: expected primary-expression before ')' token
    4 |    for (int i; i = 0; i == 0;) {
      |                              ^
a.cc:15:2: error: 'retuen' was not declared in this scope
   15 |  retuen 0;
      |  ^~~~~~
Language: C++

#include <iostream>
 int main() {
  int x, i;
   for (i = 0; i == 0;) {
    std::cin >> x;
     std::cout << x <<std::endl;
      if (x == 0) break;
    }






 retuen 0;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:2: error: 'retuen' was not declared in this scope
   15 |  retuen 0;
      |  ^~~~~~
Language: C++

#include <iostream>
 int main() {
  int x;
   for (i = 0; i == 0;) {
    std::cin >> x;
     std::cout << x <<std::endl;
      if (x == 0) {
       break;
      }
   }






 retuen 0;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'i' was not declared in this scope
    4 |    for (i = 0; i == 0;) {
      |         ^
a.cc:17:2: error: 'retuen' was not declared in this scope
   17 |  retuen 0;
      |  ^~~~~~
Language: C++

#include <iostream>
 int main() {
  int x;
   for (i = 0; i > 1;) {
    std::cin >> x;
     std::cout << x <<std::endl;
      if (x == 0) break;
   }






 retuen 0;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'i' was not declared in this scope
    4 |    for (i = 0; i > 1;) {
      |         ^
a.cc:15:2: error: 'retuen' was not declared in this scope
   15 |  retuen 0;
      |  ^~~~~~
Language: C++

#include <iostream>
 int main() {
  int x;
   while (1) {
    std::cin >> x;
     std::cout << x <<std::endl;
      if (x == 0) break;
   }






 retuen 0;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:2: error: 'retuen' was not declared in this scope
   15 |  retuen 0;
      |  ^~~~~~
Language: C++

#include <iostream>
 int main() {
  int x;
  imt i = 0;
   while (i == 0) {
    std::cin >> x;
     std::cout << x <<std::endl;
      if (x == 0) break;
   }






 retuen 0;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'imt' was not declared in this scope; did you mean 'int'?
    4 |   imt i = 0;
      |   ^~~
      |   int
a.cc:5:11: error: 'i' was not declared in this scope
    5 |    while (i == 0) {
      |           ^
a.cc:16:2: error: 'retuen' was not declared in this scope
   16 |  retuen 0;
      |  ^~~~~~
Language: C++

#include <iostream>
 int main() {
  int x;
  imt i = 0;
   while (i == 0) {
    std::cin >> x;
     std::cout << x <<std::endl;
      if (x == 0) {
       break;
      }
   }






 retuen 0;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'imt' was not declared in this scope; did you mean 'int'?
    4 |   imt i = 0;
      |   ^~~
      |   int
a.cc:5:11: error: 'i' was not declared in this scope
    5 |    while (i == 0) {
      |           ^
a.cc:18:2: error: 'retuen' was not declared in this scope
   18 |  retuen 0;
      |  ^~~~~~
Language: C++

#include <iostream>
 int main() {
  int x;
  imt i = 0;
   while (i == 0) {
    std::cin >> x;
     if (x == 0) break;
      std::cout << x <<std::endl;
      
   }






 retuen 0;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'imt' was not declared in this scope; did you mean 'int'?
    4 |   imt i = 0;
      |   ^~~
      |   int
a.cc:5:11: error: 'i' was not declared in this scope
    5 |    while (i == 0) {
      |           ^
a.cc:17:2: error: 'retuen' was not declared in this scope
   17 |  retuen 0;
      |  ^~~~~~
Language: C++

#include <iostream>
 int main() {
  int x;
   while (1) {
    std::cin >> x;
     if (x == 0) break;
      std::cout << x <<std::endl;
      
   }






 retuen 0;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:2: error: 'retuen' was not declared in this scope
   16 |  retuen 0;
      |  ^~~~~~
Language: C++

#include <iostream>
 int main() {
  int x;
   while (1) {
    std::cin >> x
     if (x == 0) break;
      std::cout << x <<std::endl;
      
   }






 retuen 0;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:18: error: expected ';' before 'if'
    5 |     std::cin >> x
      |                  ^
      |                  ;
    6 |      if (x == 0) break;
      |      ~~           
a.cc:16:2: error: 'retuen' was not declared in this scope
   16 |  retuen 0;
      |  ^~~~~~
Language: C++

#include <iostream>
 int main() {
  int x;
   while (1) {
    std::cin >> x
     if (x == 0) break;
      std::cout << x <<std::endl
      
   }






 retuen 0;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:18: error: expected ';' before 'if'
    5 |     std::cin >> x
      |                  ^
      |                  ;
    6 |      if (x == 0) break;
      |      ~~           
a.cc:7:33: error: expected ';' before '}' token
    7 |       std::cout << x <<std::endl
      |                                 ^
      |                                 ;
    8 | 
    9 |    }
      |    ~                             
a.cc:16:2: error: 'retuen' was not declared in this scope
   16 |  retuen 0;
      |  ^~~~~~
Language: C++

#include <iostream>
 int main() {
  int x;

   for (i = 0; i > 1;) {
    std::cin >> x;
     if (x == 0) break;
      std::cout << x <<std::endl;
    }





 return 0;





}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'i' was not declared in this scope
    5 |    for (i = 0; i > 1;) {
      |         ^
Language: C++

#include <iostream>
 int main() {
  int x;

   for (i = 1; i < 1; i++;) {
    std::cin >> x;
     if (x == 0) break;
      std::cout << x <<std::endl;
    }





 return 0;





}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'i' was not declared in this scope
    5 |    for (i = 1; i < 1; i++;) {
      |         ^
a.cc:5:26: error: expected ')' before ';' token
    5 |    for (i = 1; i < 1; i++;) {
      |        ~                 ^
      |                          )
a.cc:5:27: error: expected primary-expression before ')' token
    5 |    for (i = 1; i < 1; i++;) {
      |                           ^
Language: C++

#include <iostream>
 int main() {
  int x;

   for (i = 1; i < 1; i++;) {
    std::cin >> x;
     if (x == 0) std::break;
      std::cout << x <<std::endl;
    }





 return 0;





}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'i' was not declared in this scope
    5 |    for (i = 1; i < 1; i++;) {
      |         ^
a.cc:5:26: error: expected ')' before ';' token
    5 |    for (i = 1; i < 1; i++;) {
      |        ~                 ^
      |                          )
a.cc:5:27: error: expected primary-expression before ')' token
    5 |    for (i = 1; i < 1; i++;) {
      |                           ^
Language: C++

#include <iostream>
 int main() {
  int x;
  int y = 0;
   
   while (y == 0) {
    std::cin >> x;
     if (x == 0) break;
      std::cout << x <,std::endl;         




 return 0;





}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: expected primary-expression before ',' token
    9 |       std::cout << x <,std::endl;
      |                       ^
a.cc:20:2: error: expected '}' at end of input
   20 | }
      |  ^
a.cc:2:13: note: to match this '{'
    2 |  int main() {
      |             ^
Language: C++

#include <iostream>
 int main() {
  int x;
  int y = 0;
   
   while (y == 0) {
    std::cin >> x;
     if (x == 0) break;
      std::cout << x <,std::endl;         
   }



 return 0;





}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: expected primary-expression before ',' token
    9 |       std::cout << x <,std::endl;
      |                       ^
Language: C++

#include <iostream>
 int main() {
  int x;
   
   for (i = 0; i < 0; i++;) {
    std::cin >> x;
     if (x == 0) break;
      std::cout << "case " << i << ":" << x <<std::endl;         
   }



 return 0;





}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'i' was not declared in this scope
    5 |    for (i = 0; i < 0; i++;) {
      |         ^
a.cc:5:26: error: expected ')' before ';' token
    5 |    for (i = 0; i < 0; i++;) {
      |        ~                 ^
      |                          )
a.cc:5:27: error: expected primary-expression before ')' token
    5 |    for (i = 0; i < 0; i++;) {
      |                           ^
Language: C++

#include <iostream>
 int main() {
  int x;
   
   for (i = 0; i < 10000; i++;) {
    std::cin >> x;
     if (x == 0) break;
      std::cout << "case " << i << ":" << x <<std::endl;         
   }



 return 0;





}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'i' was not declared in this scope
    5 |    for (i = 0; i < 10000; i++;) {
      |         ^
a.cc:5:30: error: expected ')' before ';' token
    5 |    for (i = 0; i < 10000; i++;) {
      |        ~                     ^
      |                              )
a.cc:5:31: error: expected primary-expression before ')' token
    5 |    for (i = 0; i < 10000; i++;) {
      |                               ^
Language: C++

#include <iostream>
 int main() {
  int x;
   
   for (i = 0;i < 10000;i++;) {
    std::cin >> x;
     if (x == 0) break;
      std::cout << "case " << i << ":" << x <<std::endl;         
   }



 return 0;





}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'i' was not declared in this scope
    5 |    for (i = 0;i < 10000;i++;) {
      |         ^
a.cc:5:28: error: expected ')' before ';' token
    5 |    for (i = 0;i < 10000;i++;) {
      |        ~                   ^
      |                            )
a.cc:5:29: error: expected primary-expression before ')' token
    5 |    for (i = 0;i < 10000;i++;) {
      |                             ^
Language: C++

#include <iostream>
 int main() {
  int x;
   for (i =0; i < 0; i++;) {
    std::cin >> x;
     if (x == 0) break;
      std::cout << x <<std::endl;
     }



 return 0;





}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'i' was not declared in this scope
    4 |    for (i =0; i < 0; i++;) {
      |         ^
a.cc:4:25: error: expected ')' before ';' token
    4 |    for (i =0; i < 0; i++;) {
      |        ~                ^
      |                         )
a.cc:4:26: error: expected primary-expression before ')' token
    4 |    for (i =0; i < 0; i++;) {
      |                          ^
Language: C++

#include <iostream>
 int main() {
  int x, i;
   while (1) {
    std::cin >> x;
     if (x == 0) break;
       i++;
        std::cout << "Case " << i << ": " << x <<;
     }



 return 0;





}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:50: error: expected primary-expression before ';' token
    8 |         std::cout << "Case " << i << ": " << x <<;
      |                                                  ^
Language: C++

#include <iostream>
 int main() {
  int a, i;
   while (1) {
    std::cin >> a;
     if (x == 0) break;
       i++;
        std::cout << "Case " << i << ": " << a <<std::endl;
     }



 return 0;





}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: 'x' was not declared in this scope
    6 |      if (x == 0) break;
      |          ^
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main(){

  for (int i=1;;i++){
    int x;
    cin>>x;
    if(x == 0) break;
    cout<<"Case "<<i<<": "<<x<<endl;
  }


Compiler output:
a.cc: In function 'int main()':
a.cc:12:4: error: expected '}' at end of input
   12 |   }
      |    ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

 int main(){
  
   for( i = 1 ;;i++){
   int x;
   cin>>x;
   if(x ==0) break;
  cout<<"Case"<<i<<"x<<endl:
}

  return 0
}


Compiler output:
a.cc:10:20: warning: missing terminating " character
   10 |   cout<<"Case"<<i<<"x<<endl:
      |                    ^
a.cc:10:20: error: missing terminating " character
   10 |   cout<<"Case"<<i<<"x<<endl:
      |                    ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:9: error: 'i' was not declared in this scope
    6 |    for( i = 1 ;;i++){
      |         ^
a.cc:11:1: error: expected primary-expression before '}' token
   11 | }
      | ^
a.cc:13:11: error: expected ';' before '}' token
   13 |   return 0
      |           ^
      |           ;
   14 | }
      | ~
Language: C++

#include <bits/stdc++.h>
using namespace std;

 int main(){
  
   for( i = 1 ;;i++){
   int x;
   cin>>x;
   if(x ==0) break;
  cout<<"Case"<<i<<"x<<endl;
}

  return 0
}


Compiler output:
a.cc:10:20: warning: missing terminating " character
   10 |   cout<<"Case"<<i<<"x<<endl;
      |                    ^
a.cc:10:20: error: missing terminating " character
   10 |   cout<<"Case"<<i<<"x<<endl;
      |                    ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:9: error: 'i' was not declared in this scope
    6 |    for( i = 1 ;;i++){
      |         ^
a.cc:11:1: error: expected primary-expression before '}' token
   11 | }
      | ^
a.cc:13:11: error: expected ';' before '}' token
   13 |   return 0
      |           ^
      |           ;
   14 | }
      | ~
Language: C++

#include <bits/stdc++.h>
using namespace std;

 int main(){
  
   for( i = 1 ;;i++){
   int x;
   cin>>x;
   if(x ==0) break;
  cout<<"Case"<<i<<":"<<"x"<<endl;
}

  return 0
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'i' was not declared in this scope
    6 |    for( i = 1 ;;i++){
      |         ^
a.cc:13:11: error: expected ';' before '}' token
   13 |   return 0
      |           ^
      |           ;
   14 | }
      | ~
Language: C++

#include <bits/stdc++.h>
using namespace std;

 int main(){
  
   for( i = 1 ;;i++){
   int x;
   cin>>x;
   if(x ==0) break;
  cout<<"Case"<<i<<":"<<x<<endl;
}

  return 0
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'i' was not declared in this scope
    6 |    for( i = 1 ;;i++){
      |         ^
a.cc:13:11: error: expected ';' before '}' token
   13 |   return 0
      |           ^
      |           ;
   14 | }
      | ~
Language: C++

//itp1_topic3_b
#include <bits/stdc++>
using namespace std;

int main(){
    
    for(int i=1;;i++){
        int x;
        cin>>x;
        if(x == 0) break;
        cout<<"Case"<<" "<<"i "<<"x"<<endl;
    }
    
    return 0;
}


Compiler output:
a.cc:2:10: fatal error: bits/stdc++: No such file or directory
    2 | #include <bits/stdc++>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main(){
for(i=1;;i++){
int x;
cin>>x;
if(x==0){break;}
cout<<"Case "<<i<<": "<<x<<endl;
}

return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'i' was not declared in this scope
    5 | for(i=1;;i++){
      |     ^
Language: C++

#include <bits/stdc++.c>
using namespace std;

int main(){
  int a , b, c;
  cin>>a>>b>>c;

  int cut = 0;
  for(int x =a; x <= b; x++){
    if(c % x ==  0) cnt++;
  }

  cout<<cnt<<endl;

  return 0;
}



Compiler output:
a.cc:1:10: fatal error: bits/stdc++.c: No such file or directory
    1 | #include <bits/stdc++.c>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.c>
using namespace std;

int main(){
  
  for(int i=1;;i++){
    int x;
    cin>>x;
    if(x == 0) break;
    cout<<"Case "<<i<<"; "<<x<<endl;
  }

  return 0;
}

  



Compiler output:
a.cc:1:10: fatal error: bits/stdc++.c: No such file or directory
    1 | #include <bits/stdc++.c>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
using namespace;
int main(){
int i=1,x;
while(1){cin>>x;
if(x==0)break;
cout<<"case "<<i++<<": "<<x<<endl;
}
return 0;}


Compiler output:
a.cc:2:16: error: expected identifier before ';' token
    2 | using namespace;
      |                ^
a.cc: In function 'int main()':
a.cc:5:10: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 | while(1){cin>>x;
      |          ^~~
      |          std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 | cout<<"case "<<i++<<": "<<x<<endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:30: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 | cout<<"case "<<i++<<": "<<x<<endl;
      |                              ^~~~
      |                              std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>
using namespace;
int main(){
int i=1,x;
while(1){cin>>x;
if(x==0)break;
cout<<"case "<<i<<": "<<x<<endl;
i++;
}
return 0;}


Compiler output:
a.cc:2:16: error: expected identifier before ';' token
    2 | using namespace;
      |                ^
a.cc: In function 'int main()':
a.cc:5:10: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 | while(1){cin>>x;
      |          ^~~
      |          std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 | cout<<"case "<<i<<": "<<x<<endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:28: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 | cout<<"case "<<i<<": "<<x<<endl;
      |                            ^~~~
      |                            std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~