Last login: Wed Jun 15 02:14:51 on ttys000
kamimurariki-no-MacBook-Pro:~ kamimurariki$ emacs A.c &
[1] 57634
kamimurariki-no-MacBook-Pro:~ kamimurariki$ Emacs A.c &
[2] 57636

[1]+  Stopped                 emacs A.c
kamimurariki-no-MacBook-Pro:~ kamimurariki$ Emacs A.c 































[2]+  Stopped                 Emacs A.c
kamimurariki-no-MacBook-Pro:~ kamimurariki$ Emacs A.c 
kamimurariki-no-MacBook-Pro:~ kamimurariki$ Emacs A.c 
kamimurariki-no-MacBook-Pro:~ kamimurariki$ ssh s1230090@sshgate.u-aizu.ac.jp
PAM Authentication
Password: 
Last login: Wed Jun 15 2016 02:58:38 +0900 from softbank1262030
Oracle Corporation     SunOS 5.11      11.3    February 2016

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please log in to one of the hosts listed below.

- Solaris11: 
  - Computer Exercise Room 1 and 2  ... stdrsv1121 - stdrsv1125
  - Computer Exercise Room 3 and 4  ... std34rsv1 - std34rsv5
  - Hardware Workshop 1, 2, 3 and 4 ... stdrsv2121 - stdrsv2128
  - CALL Lab 1 and 2                ... stdrsv3121 - stdrsv3123
  - Faculty room                    ... prorsv1 - prorsv10
- OS X 10.9
  - Computer Exercise Room 5 and 6  ... std5dc2 - std5dc50, std6dc2 - std6dc50
  - iLab 1 and 2                    ... ilab1dc2 - ilab1dc49, ilab2dc2 - ilab2dc49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 

sshsv1{s1230090}51: sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 

sshsv1{s1230090}51: sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: 
sshsv1{s1230090}51: ls
#Midterm2#                            UTF-8        final
#Q1.c#                                Windows      final~
#a#                                   Windows~     g.s~
2016_1                                a.out        ikV201DuBsI.jpg
547160_0004_Pol_cartoons.pdf          algo1        k.c~
Desktop                               algo2.pdf    k.s~
Documents                             c.1.c~       mh4g_1920x1080.jpg
Downloads                             core         profile.a~
Java Programming 1: Exercise 9.html   d.c~         score~
Java Programming 1: Exercise 9_files  e.s~         shadesofBeingHuman.odt
Library                               ex01a2.txt~  sir.JPG
Mail                                  ex01b1.c~    test2~
Midterm1                              ex02a1.c~    test~
Midterm2                              ex02a1.txt~  violent
Midterm2~                             ex02a2.c~    violent~
Movies                                ex02a3.c~    yotube-1.pdf
Music                                 ex02a3~      yotube.pdf
Noise.java                            ex02b2.c~    ??????.odt
Pictures                              ex1.s~       ?????????????????\?????????(2).odt
Public                                ex2.s~       ?????????????????\?????????.odt
TF                                    f.s~
sshsv1{s1230090}52: bash
Terminal type is xterm-256color.                                        
Erase is backspace.
bash-4.2$ cd algo1
bash-4.2$ ls
le01  le03  le05  le07  le09  le11  le13
le02  le04  le06  le08  le10  le12  le14
bash-4.2$ cd le01
bash-4.2$ ls
A.c  A.c~  B.c  B.c~  C.c  C.c~  a.out  core
bash-4.2$ emacs C.c &
[1] 11955
bash-4.2$ emacs C.c 

File Edit Options Buffers Tools C Help                                          

int main(){
  int n,x,i;
  int cnt = 0;
  scanf("%d",&n);
  for(i=0;i<n;i++){
    scanf("%d",&x);
    if(isPrime(x))cnt++;
  }
  printf("%d\n",cnt);
  return 0;
}