Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Spejmer
#include <iostream> #include <string.h> using namespace std; int main() { int posty=0; scanf("%d",&posty); char ludzie[111][22]; for(int i=0;i<posty;i++) { scanf("%s",ludzie[i]); } char nick[22]; scanf("%s",nick); int x=0; for(int i=0;i<posty;i++) { if(strcmp(nick,ludzie[i]) == 0) { x++; } } printf("%d",x); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Partition to K Equal Sum Subsets
area of a circle using pointer
MatrixVectorConversion
SubprogramModificat
Cotton Farm 0.0.1.0
Proyecto 1
Sortowanie przez scalanie
typeid
Empty C++
read_write_lock_acc
Please log in to post a comment.