prog.cpp: In function ‘int main()’:
prog.cpp:33:13: error: break statement not within loop or switch
break;
^~~~~
prog.cpp: At global scope:
prog.cpp:36:5: error: expected unqualified-id before ‘for’
for(long long int i=0;i<n;i++){
^~~
prog.cpp:36:27: error: ‘i’ does not name a type
for(long long int i=0;i<n;i++){
^
prog.cpp:36:31: error: ‘i’ does not name a type
for(long long int i=0;i<n;i++){
^
prog.cpp:39:2: error: expected unqualified-id before ‘return’
return 0;
^~~~~~
prog.cpp:40:1: error: expected declaration before ‘}’ token
}
^