kralj.cpp: In function 'int main()':
kralj.cpp:8:7: error: 'n' was not declared in this scope
cin>>n;
^
kralj.cpp:8:7: note: suggested alternative: 'yn'
cin>>n;
^
yn
kralj.cpp:10:8: error: 'a' was not declared in this scope
cin>>a[i];
^
kralj.cpp:13:8: error: 'd' was not declared in this scope
cin>>d[i];
^
kralj.cpp:16:8: error: 's' was not declared in this scope
cin>>s[i];
^
kralj.cpp:19:7: error: 'd' was not declared in this scope
sort(d, d+n);
^
kralj.cpp:20:7: error: 's' was not declared in this scope
sort(s, s+n);
^
kralj.cpp:25:4: error: 'br' was not declared in this scope
br++;
^~
kralj.cpp:33:8: error: 'br' was not declared in this scope
cout<<br<<"\n";
^~