Guest User

Untitled

a guest
Jan 14th, 2019
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.45 KB | None | 0 0
  1.  
  2.  
  3.  
  4. ---------- Forwarded message ---------
  5. From: Course 89-110 <89-110@macs.biu.ac.il>
  6. ‪Date: יום ב׳, 14 בינו׳ 2019 ב-11:01‬
  7. Subject: Submission of "ex6"
  8. To: Shaked Arbili <shakedarbili@gmail.com>
  9.  
  10.  
  11. Shaked,
  12.  
  13. The following files have been accepted for assignment "ex6":
  14.  
  15.  
  16. ex6.c (36269 bytes)
  17.  
  18. Your grade for assignment "ex6" is "0" (16 - 135).
  19. (135 points were reduced because of memory leak).
  20.  
  21. "ex6" was checked with 13 inputs:
  22.  
  23. (1) 0 line errors, memory leak: 0 bytes not freed and 16 bytes lost (- 10), 8 points out of 8.
  24. Input
  25. 1
  26. ordan10
  27. 1234
  28. 1
  29. 20 35
  30. 2
  31. 3
  32. Correct Output
  33. Welcome! please choose an option
  34. 1 - Log in
  35. 2 - New member
  36. 3 - Exit
  37. Please enter your username:
  38. Please enter your password:
  39. Hello or!
  40. Please choose an option:
  41. 1. Find a match
  42. 2. I found love, DELETE me
  43. 3. Log out
  44. Please choose ages range:
  45. Name: oshrit hasson Age: 30 Hobbies: Bicycle, Books, Drawing, Movies Description: Layer and a painter
  46.  
  47. Name: shani israel Age: 25 Hobbies: Books, Drawing, Gym, Movies Description: Happy and cool girl
  48.  
  49. Please choose an option:
  50. 1. Find a match
  51. 2. I found love, DELETE me
  52. 3. Log out
  53. Welcome! please choose an option
  54. 1 - Log in
  55. 2 - New member
  56. 3 - Exit
  57. Your Output
  58. Welcome! please choose an option
  59. 1 - Log in
  60. 2 - New member
  61. 3 - Exit
  62. Please enter your username:
  63. Please enter your password:
  64. Hello or!
  65. Please choose an option:
  66. 1. Find a match
  67. 2. I found love, DELETE me
  68. 3. Log out
  69. Please choose ages range:
  70. Name: oshrit hasson Age: 30 Hobbies: Bicycle, Books, Drawing, Movies Description: Layer and a painter
  71.  
  72. Name: shani israel Age: 25 Hobbies: Books, Drawing, Gym, Movies Description: Happy and cool girl
  73.  
  74. Please choose an option:
  75. 1. Find a match
  76. 2. I found love, DELETE me
  77. 3. Log out
  78. Welcome! please choose an option
  79. 1 - Log in
  80. 2 - New member
  81. 3 - Exit
  82.  
  83. (2) 0 points (Exception)
  84. Input
  85. 1
  86. shaninush
  87. 12345
  88. 1
  89. 24 60
  90. 3
  91. 3
  92. Correct Output
  93. Welcome! please choose an option
  94. 1 - Log in
  95. 2 - New member
  96. 3 - Exit
  97. Please enter your username:
  98. Please enter your password:
  99. Hello shani!
  100. Please choose an option:
  101. 1. Find a match
  102. 2. I found love, DELETE me
  103. 3. Log out
  104. Please choose ages range:
  105. Name: or dan Age: 25 Hobbies: Bicycle, Drawing, Gym, Movies Description: Singer and dancer
  106.  
  107. Name: nadav levi Age: 50 Hobbies: Bicycle, Gym, Movies, Poetry Description: Engineer very smart
  108.  
  109. Please choose an option:
  110. 1. Find a match
  111. 2. I found love, DELETE me
  112. 3. Log out
  113. Welcome! please choose an option
  114. 1 - Log in
  115. 2 - New member
  116. 3 - Exit
  117. Your Output
  118.  
  119. (3) 0 points (Timeout)
  120. Input
  121. 2
  122. 001122333
  123. yossi
  124. gad
  125. 32
  126. M
  127. king_yossi
  128. 1 2 3 8
  129. yosyos
  130. LOVE SPOOORRRTT!!
  131. 1
  132. 40 50
  133. 3
  134. 1
  135. nd50
  136. nadav
  137. 3
  138. 3
  139. Correct Output
  140. Welcome! please choose an option
  141. 1 - Log in
  142. 2 - New member
  143. 3 - Exit
  144. Please enter your ID:
  145. Please enter your first name:
  146. Please enter your last name:
  147. Please enter your age (18 to 100):
  148. Please enter your gender (F-female, M-male):
  149. Choose a username (3-10 characters):
  150. please choose 4 hobbies: Baseball=1, Basketball=2, Bicycle=3, Books=4, Drawing=5, Gym=6, Movies=7, Poetry=8
  151. Choose a password (attention-minimum 3 characters):
  152. Some words about yourself:
  153. Hi yossi, lets find love!
  154. Please choose an option:
  155. 1. Find a match
  156. 2. I found love, DELETE me
  157. 3. Log out
  158. Please choose ages range:
  159. Please choose an option:
  160. 1. Find a match
  161. 2. I found love, DELETE me
  162. 3. Log out
  163. Welcome! please choose an option
  164. 1 - Log in
  165. 2 - New member
  166. 3 - Exit
  167. Please enter your username:
  168. Please enter your password:
  169. Hello nadav!
  170. Please choose an option:
  171. 1. Find a match
  172. 2. I found love, DELETE me
  173. 3. Log out
  174. Welcome! please choose an option
  175. 1 - Log in
  176. 2 - New member
  177. 3 - Exit
  178. Your Output
  179.  
  180. (4) 1 line errors, memory leak: 0 bytes not freed and 16 bytes lost (- 10), 0 points out of 8.
  181. Input
  182. 4
  183. 1
  184. ordan10
  185. 1234
  186. 1
  187. 20 35
  188. 2
  189. 3
  190. Correct Output
  191. Welcome! please choose an option
  192. 1 - Log in
  193. 2 - New member
  194. 3 - Exit
  195. Bad choice, please try again
  196. Welcome! please choose an option
  197. 1 - Log in
  198. 2 - New member
  199. 3 - Exit
  200. Please enter your username:
  201. Please enter your password:
  202. Hello or!
  203. Please choose an option:
  204. 1. Find a match
  205. 2. I found love, DELETE me
  206. 3. Log out
  207. Please choose ages range:
  208. Name: oshrit hasson Age: 30 Hobbies: Bicycle, Books, Drawing, Movies Description: Layer and a painter
  209.  
  210. Name: shani israel Age: 25 Hobbies: Books, Drawing, Gym, Movies Description: Happy and cool girl
  211.  
  212. Please choose an option:
  213. 1. Find a match
  214. 2. I found love, DELETE me
  215. 3. Log out
  216. Welcome! please choose an option
  217. 1 - Log in
  218. 2 - New member
  219. 3 - Exit
  220. Your Output
  221. Welcome! please choose an option
  222. 1 - Log in
  223. 2 - New member
  224. 3 - Exit
  225. Welcome! please choose an option
  226. 1 - Log in
  227. 2 - New member
  228. 3 - Exit
  229. Please enter your username:
  230. Please enter your password:
  231. Hello or!
  232. Please choose an option:
  233. 1. Find a match
  234. 2. I found love, DELETE me
  235. 3. Log out
  236. Please choose ages range:
  237. Name: oshrit hasson Age: 30 Hobbies: Bicycle, Books, Drawing, Movies Description: Layer and a painter
  238.  
  239. Name: shani israel Age: 25 Hobbies: Books, Drawing, Gym, Movies Description: Happy and cool girl
  240.  
  241. Please choose an option:
  242. 1. Find a match
  243. 2. I found love, DELETE me
  244. 3. Log out
  245. Welcome! please choose an option
  246. 1 - Log in
  247. 2 - New member
  248. 3 - Exit
  249.  
  250. (5) 10 line errors, memory leak: 0 bytes not freed and 388 bytes lost (- 10), 0 points out of 8.
  251. Input
  252. 2
  253. 203484758
  254. 1
  255. shaninush
  256. 12345
  257. 3
  258. 3
  259. Correct Output
  260. Welcome! please choose an option
  261. 1 - Log in
  262. 2 - New member
  263. 3 - Exit
  264. Please enter your ID:
  265. Error: User already exists
  266. Welcome! please choose an option
  267. 1 - Log in
  268. 2 - New member
  269. 3 - Exit
  270. Please enter your username:
  271. Please enter your password:
  272. Hello shani!
  273. Please choose an option:
  274. 1. Find a match
  275. 2. I found love, DELETE me
  276. 3. Log out
  277. Welcome! please choose an option
  278. 1 - Log in
  279. 2 - New member
  280. 3 - Exit
  281. Your Output
  282. Welcome! please choose an option
  283. 1 - Log in
  284. 2 - New member
  285. 3 - Exit
  286. Please enter your ID:
  287. Please enter your first name:
  288. Please enter your last name:
  289. Please enter your age (18 to 100)
  290. Welcome! please choose an option
  291. 1 - Log in
  292. 2 - New member
  293. 3 - Exit
  294. Welcome! please choose an option
  295. 1 - Log in
  296. 2 - New member
  297. 3 - Exit
  298.  
  299. (6) 19 line errors, memory leak: 136 bytes not freed (- 5) and 237 bytes lost (- 10), 0 points out of 7.
  300. Input
  301. 1
  302. superstar
  303. osh321
  304. 111
  305. 1
  306. 20 50
  307. 2
  308. 3
  309. Correct Output
  310. Welcome! please choose an option
  311. 1 - Log in
  312. 2 - New member
  313. 3 - Exit
  314. Please enter your username:
  315. User do not exist in the system, please try again
  316. Please enter your username:
  317. Please enter your password:
  318. Hello oshrit!
  319. Please choose an option:
  320. 1. Find a match
  321. 2. I found love, DELETE me
  322. 3. Log out
  323. Please choose ages range:
  324. Name: or dan Age: 25 Hobbies: Bicycle, Drawing, Gym, Movies Description: Singer and dancer
  325.  
  326. Name: nadav levi Age: 50 Hobbies: Bicycle, Gym, Movies, Poetry Description: Engineer very smart
  327.  
  328. Please choose an option:
  329. 1. Find a match
  330. 2. I found love, DELETE me
  331. 3. Log out
  332. Welcome! please choose an option
  333. 1 - Log in
  334. 2 - New member
  335. 3 - Exit
  336. Your Output
  337. Welcome! please choose an option
  338. 1 - Log in
  339. 2 - New member
  340. 3 - Exit
  341. Please enter your username:
  342. Please enter your password:
  343. User do not exist in the system, please try again
  344. Please enter your username:
  345. Please enter your password:
  346.  
  347. (7) 0 points (Exception)
  348. Input
  349. 1
  350. ordan10
  351. 1234
  352. 2
  353. 1
  354. shaninush
  355. 12345
  356. 1
  357. 20 40
  358. 3
  359. 3
  360. Correct Output
  361. Welcome! please choose an option
  362. 1 - Log in
  363. 2 - New member
  364. 3 - Exit
  365. Please enter your username:
  366. Please enter your password:
  367. Hello or!
  368. Please choose an option:
  369. 1. Find a match
  370. 2. I found love, DELETE me
  371. 3. Log out
  372. Welcome! please choose an option
  373. 1 - Log in
  374. 2 - New member
  375. 3 - Exit
  376. Please enter your username:
  377. Please enter your password:
  378. Hello shani!
  379. Please choose an option:
  380. 1. Find a match
  381. 2. I found love, DELETE me
  382. 3. Log out
  383. Please choose ages range:
  384. Please choose an option:
  385. 1. Find a match
  386. 2. I found love, DELETE me
  387. 3. Log out
  388. Welcome! please choose an option
  389. 1 - Log in
  390. 2 - New member
  391. 3 - Exit
  392. Your Output
  393.  
  394. (8) 0 points (Exception)
  395. Input
  396. 2
  397. 212121212
  398. shir
  399. shachar
  400. 45
  401. F
  402. shir
  403. 3 4 7 8
  404. shir1975
  405. A vegetarian loves animals
  406. 3
  407. 1
  408. danny1993
  409. 123
  410. 1
  411. 30 50
  412. 3
  413. 3
  414. Correct Output
  415. Welcome! please choose an option
  416. 1 - Log in
  417. 2 - New member
  418. 3 - Exit
  419. Please enter your ID:
  420. Please enter your first name:
  421. Please enter your last name:
  422. Please enter your age (18 to 100):
  423. Please enter your gender (F-female, M-male):
  424. Choose a username (3-10 characters):
  425. please choose 4 hobbies: Baseball=1, Basketball=2, Bicycle=3, Books=4, Drawing=5, Gym=6, Movies=7, Poetry=8
  426. Choose a password (attention-minimum 3 characters):
  427. Some words about yourself:
  428. Hi shir, lets find love!
  429. Please choose an option:
  430. 1. Find a match
  431. 2. I found love, DELETE me
  432. 3. Log out
  433. Welcome! please choose an option
  434. 1 - Log in
  435. 2 - New member
  436. 3 - Exit
  437. Please enter your username:
  438. Please enter your password:
  439. Hello danny!
  440. Please choose an option:
  441. 1. Find a match
  442. 2. I found love, DELETE me
  443. 3. Log out
  444. Please choose ages range:
  445. Name: shir shachar Age: 45 Hobbies: Bicycle, Books, Movies, Poetry Description: A vegetarian loves animals
  446.  
  447. Please choose an option:
  448. 1. Find a match
  449. 2. I found love, DELETE me
  450. 3. Log out
  451. Welcome! please choose an option
  452. 1 - Log in
  453. 2 - New member
  454. 3 - Exit
  455. Your Output
  456.  
  457. (9) 21 line errors, memory leak: 136 bytes not freed (- 5) and 625 bytes lost (- 10), 0 points out of 8.
  458. Input
  459. 2
  460. 202034567
  461. Yoav
  462. NIZRI
  463. 23
  464. M
  465. Y1
  466. 1
  467. ordan10
  468. 1234
  469. 1
  470. 20 35
  471. 2
  472. 3
  473. Correct Output
  474. Welcome! please choose an option
  475. 1 - Log in
  476. 2 - New member
  477. 3 - Exit
  478. Please enter your ID:
  479. Please enter your first name:
  480. Please enter your last name:
  481. Please enter your age (18 to 100):
  482. Please enter your gender (F-female, M-male):
  483. Choose a username (3-10 characters):
  484. Welcome! please choose an option
  485. 1 - Log in
  486. 2 - New member
  487. 3 - Exit
  488. Please enter your username:
  489. Please enter your password:
  490. Hello or!
  491. Please choose an option:
  492. 1. Find a match
  493. 2. I found love, DELETE me
  494. 3. Log out
  495. Please choose ages range:
  496. Name: oshrit hasson Age: 30 Hobbies: Bicycle, Books, Drawing, Movies Description: Layer and a painter
  497.  
  498. Name: shani israel Age: 25 Hobbies: Books, Drawing, Gym, Movies Description: Happy and cool girl
  499.  
  500. Please choose an option:
  501. 1. Find a match
  502. 2. I found love, DELETE me
  503. 3. Log out
  504. Welcome! please choose an option
  505. 1 - Log in
  506. 2 - New member
  507. 3 - Exit
  508. Your Output
  509. Welcome! please choose an option
  510. 1 - Log in
  511. 2 - New member
  512. 3 - Exit
  513. Please enter your ID:
  514. Please enter your first name:
  515. Please enter your last name:
  516. Please enter your age (18 to 100)
  517. Please enter your gender (F-female,M-male)
  518. Choose a username (3-10 characters):
  519. Welcome! please choose an option
  520. 1 - Log in
  521. 2 - New member
  522. 3 - Exit
  523. Welcome! please choose an option
  524. 1 - Log in
  525. 2 - New member
  526. 3 - Exit
  527. Please enter your username:
  528. Please enter your password:
  529. User do not exist in the system, please try again
  530. Please enter your username:
  531. Please enter your password:
  532.  
  533. (10) 0 line errors, memory leak: 0 bytes not freed and 0 bytes lost, 8 points out of 8.
  534. Input
  535. 1
  536. shaninush
  537. 111111
  538. 3
  539. Correct Output
  540. Welcome! please choose an option
  541. 1 - Log in
  542. 2 - New member
  543. 3 - Exit
  544. Please enter your username:
  545. Please enter your password:
  546. Wrong password
  547. Welcome! please choose an option
  548. 1 - Log in
  549. 2 - New member
  550. 3 - Exit
  551. Your Output
  552. Welcome! please choose an option
  553. 1 - Log in
  554. 2 - New member
  555. 3 - Exit
  556. Please enter your username:
  557. Please enter your password:
  558. Wrong password
  559. Welcome! please choose an option
  560. 1 - Log in
  561. 2 - New member
  562. 3 - Exit
  563.  
  564. (11) 8 line errors, memory leak: 0 bytes not freed and 388 bytes lost (- 10), 0 points out of 8.
  565. Input
  566. 2
  567. 293850293
  568. Dan
  569. yosef
  570. 29
  571. M
  572. dani
  573. 1 2 3 8
  574. d
  575. 3
  576. Correct Output
  577. Welcome! please choose an option
  578. 1 - Log in
  579. 2 - New member
  580. 3 - Exit
  581. Please enter your ID:
  582. Please enter your first name:
  583. Please enter your last name:
  584. Please enter your age (18 to 100):
  585. Please enter your gender (F-female, M-male):
  586. Choose a username (3-10 characters):
  587. please choose 4 hobbies: Baseball=1, Basketball=2, Bicycle=3, Books=4, Drawing=5, Gym=6, Movies=7, Poetry=8
  588. Choose a password (attention-minimum 3 characters):
  589. Welcome! please choose an option
  590. 1 - Log in
  591. 2 - New member
  592. 3 - Exit
  593. Your Output
  594. Welcome! please choose an option
  595. 1 - Log in
  596. 2 - New member
  597. 3 - Exit
  598. Please enter your ID:
  599. Please enter your first name:
  600. Please enter your last name:
  601. Please enter your age (18 to 100)
  602. Please enter your gender (F-female,M-male)
  603. Choose a username (3-10 characters):
  604. please choose 4 hobbies: Baseball=1,Basketball = 2, Bicycle = 3, Books = 4, Drawing = 5, Gym = 6, Movies = 7, Poetry = 8
  605. Choose a password (attention-minimum 6 characters):
  606. Welcome! please choose an option
  607. 1 - Log in
  608. 2 - New member
  609. 3 - Exit
  610. Welcome! please choose an option
  611. 1 - Log in
  612. 2 - New member
  613. 3 - Exit
  614.  
  615. (12) 5 line errors, memory leak: 0 bytes not freed and 388 bytes lost (- 10), 0 points out of 8.
  616. Input
  617. 2
  618. 085684932
  619. Natali
  620. micheal
  621. 16
  622. 3
  623. Correct Output
  624. Welcome! please choose an option
  625. 1 - Log in
  626. 2 - New member
  627. 3 - Exit
  628. Please enter your ID:
  629. Please enter your first name:
  630. Please enter your last name:
  631. Please enter your age (18 to 100):
  632. Welcome! please choose an option
  633. 1 - Log in
  634. 2 - New member
  635. 3 - Exit
  636. Your Output
  637. Welcome! please choose an option
  638. 1 - Log in
  639. 2 - New member
  640. 3 - Exit
  641. Please enter your ID:
  642. Please enter your first name:
  643. Please enter your last name:
  644. Please enter your age (18 to 100)
  645. Welcome! please choose an option
  646. 1 - Log in
  647. 2 - New member
  648. 3 - Exit
  649. Welcome! please choose an option
  650. 1 - Log in
  651. 2 - New member
  652. 3 - Exit
  653.  
  654. (13) 6 line errors, memory leak: 0 bytes not freed and 388 bytes lost (- 10), 0 points out of 7.
  655. Input
  656. 2
  657. 003948592
  658. nurit
  659. stav
  660. 34
  661. F
  662. 012345
  663. 3
  664. Correct Output
  665. Welcome! please choose an option
  666. 1 - Log in
  667. 2 - New member
  668. 3 - Exit
  669. Please enter your ID:
  670. Please enter your first name:
  671. Please enter your last name:
  672. Please enter your age (18 to 100):
  673. Please enter your gender (F-female, M-male):
  674. Choose a username (3-10 characters):
  675. Welcome! please choose an option
  676. 1 - Log in
  677. 2 - New member
  678. 3 - Exit
  679. Your Output
  680. Welcome! please choose an option
  681. 1 - Log in
  682. 2 - New member
  683. 3 - Exit
  684. Please enter your ID:
  685. Please enter your first name:
  686. Please enter your last name:
  687. Please enter your age (18 to 100)
  688. Please enter your gender (F-female,M-male)
  689. Choose a username (3-10 characters):
  690. Welcome! please choose an option
  691. 1 - Log in
  692. 2 - New member
  693. 3 - Exit
  694. Welcome! please choose an option
  695. 1 - Log in
  696. 2 - New member
  697. 3 - Exit
  698.  
  699. Submitted: Mon, 14 Jan 2019, 10:58.
  700. Last submission date with no reduction points: 14 Jan 2019.
Add Comment
Please, Sign In to add comment