Job 16563

Owner
Razvan Turtu
Problem
Regex
Source
0.37KB
Result
Compile error (Non-zero exit status: 1)

Compiler output

prog.cpp:10:15: error: redefinition of 'int b'
 int a,b,n,ans,b;
               ^
prog.cpp:10:7: note: 'int b' previously declared here
 int a,b,n,ans,b;
       ^
prog.cpp: In function 'int main()':
prog.cpp:16:5: error: 'cin' was not declared in this scope
     cin>>s;
     ^
prog.cpp:18:9: error: 'cout' was not declared in this scope
         cout<<"YES";
         ^
prog.cpp:20:9: error: 'cout' was not declared in this scope
         cout<<"NO";
         ^

Questions?

Sponsors Gold