SE + HCI + ML Causal Testing: Understanding Defects' Root Causes by Brittany Johnson
Brittany Johnson
- Understanding software practice
- Improving software practice
- Supporting ethical software practices
(in particular)
SE + HCI + ML Causal Testing: Understanding Defects' Root Causes by Brittany Johnson
Brittany Johnson
(in particular)
#include<iostream> | |
#include<vector> | |
#include<queue> | |
#include<set> | |
#include<map> | |
#include<algorithm> | |
#define INRANGE(i, a, b) (i >= a && i < b) | |
using namespace std; |
From With or Without You by U2 to Fireworks by Kate Perry.
From I will always love you by Whitney Houston to Boulevard of Broken Dreams by Green Day.
What do they all have in common? They were all composed using the same 6 chords!!
Given in the file below are a set of 45 pop songs that had at one point of time topped the Billboard.
Also here is a list of 10 songs which you haven't heard of so far.
def balls_score(n, q, a) | |
#n is the size for which the game is played | |
#q is the number of questions asked | |
#a is the number of attempts | |
if q<((n/2) + 1) | |
return 0 | |
end | |
k = n/10 | |
if k<2 | |
k = 2 |
1. How is the third test case in the sample test case 1? | |
ans: for the testcase 1 25, only 1 situation is possible. A Strike, A spare and an extra ball using which we can get a 5. 10 9 6 isn't a valid bowling score as for that frame, a strike in the first try and a 9 in the second try will leave 1 pin on the bowling alley and not 6. Hence only 1 valid case results in a score of 25. | |
For more information on bowling scoring check | |
https://en.wikipedia.org/wiki/Ten-pin_bowling#Rules_of_play |
Input/Moves made
First Move: Cop
C
19 19 0 0 0 0 0 0
Output
0 1 0 1 1 0