prompt
stringlengths 109
7.32k
| response
stringlengths 1
1.45k
|
---|---|
Q: Generate a 3-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
A: Wow!!
Question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package org.ppsspp.ppsspp.
Answer: Suuuuuuuuuu..
[Q]: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.ichi2.anki.
****
[A]: I can't even download the cards.
input: Please answer the following: Generate a 2-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
++++++++++
output: Darshan Gurjar
Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.shatteredpixel.shatteredpixeldungeon.
++++++++
Answer: Great It look good
Question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package org.scummvm.scummvm.
Answer: | For people struggling with the mouse... ... you can get it back to normal by tapping """"""""""""""""change device configuration"""""""""""""""" at launch then tap Mouse Emulation - Advanced Features and enable Relative mouse movement. I also changed left mouse click to tap... Problem solved ? :)"" |
We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty.
One example is below.
Q: The fact that you do not want to donate to these poor, needy people only shows me that you really do not care about the embryos
A: Invalid
Rationale: It is not an argument on the topic of death penalty.
Q: What I saw in your previous post was some personal justification of the random attacks from a terrorist group on a country that still uses the death penalty.
A: | Valid |
Definition: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
Input: nonlinguistic
Output: | linguistic |
Given the task definition and input, reply with output. The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
muéstreme restaurantes con una valoración mínima de 6 estrellas.
| show me restaurants with a minimum 6 star rating . |
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Example input: THEM: i need the hats and the ball YOU: i can give you one hat and the ball. i want 2 books and 1 hat THEM: i have to have both hats and the ball or both hats and a book to make a deal YOU: sorry, i won`t make a deal without a hat THEM: if you take 1 hat i have to have everything else YOU: sorry can`t do THEM: no deal YOU: yesh no deal, sorry THEM: no deal YOU: no deal.
Example output: No
Example explanation: Both participants do not agree to the deal, so the answer is No.
Q: THEM: i'd love a book and a ball. YOU: how about i take the hats and all balls and give you the book? THEM: that's fine with me. YOU: ok i get the hats and balls you get the book.
A: | Yes |
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Example input: [1, 2, 3]
Example output: [0.167, 0.333, 0.500]
Example explanation: The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example.
Q: [-89.198, 114.077, -57.126, 92.743, 11.669]
A: | [-1.236 1.581 -0.792 1.285 0.162] |
Given the task definition, example input & output, solve the new input case.
Given a sentence in Korean, provide an equivalent paraphrased translation in French that retains the same meaning both through the translation and the paraphrase.
Example: 1975 년부터 76 년까지 NBA 시즌은 전국 농구 협회 (National Basketball Association)의 30 번째 시즌이었다.
Output: La saison 1975-1976 de la National Basketball Association était la 30e saison de la NBA.
This is a correct and accurate translation from Korean to French because the translated paraphrase retains the main message that between the years 1975-1976, the 30th NBA season occurred.
New input case for you: 여행 5 일 동안 그는 퐁텐 블로에서 공부 한 엘바에 관한 책을 가져 왔습니다.
Output: | Pendant les cinq jours de son voyage, il apporta des livres sur l’île d’Elbe qu’il étudia à Fontainebleau. |
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
Example input: gocogccocco
Example output: gocog
Example explanation: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example.
Q: jjjdadddaajd
A: | addda |
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
Example input: gocogccocco
Example output: gocog
Example explanation: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example.
Q: tyvttyvttyvvvt
A: | vvv |
You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below:
Tense: The verbs in the sentence are changed in tense.
Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around.
Voice: If the verbs are in active voice, they're changed to passive or the other way around.
Adverb: The paraphrase has one adverb or more than the original sentence.
Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns.
Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym.
One example: original sentence: Lily spoke to Donna , breaking her silence . paraphrase: Lily is speaking to Donna , breaking her silence .
Solution is here: Tense
Explanation: The verbs in this example are changed from past tense to present tense.
Now, solve this: original sentence: The table won't fit through the doorway because it is too wide . paraphrase: The table won't fully fit through the doorway because it is too wide .
Solution: | Adverb |
Detailed Instructions: In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other.
Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise
Q: 'English : The statement added the letter sent by the Ministry of Foreign Affairs notes that “The government will be pleased to host a commission from the Commissioner”.','Kurdish : Di daxuyaniya Komîsertiyê de wiha hat gotin: ‘Wezareta Karên Derve di nameya xwe ya ku roja pêncşemê gihiştiye destên me de ragihandiye ku wê hukimet ji pêşwaziya heyeta me kêkfeş be.’'
A: | Yes |
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no".
Here are the definitions of logical operators:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
One example is below.
Q: Command: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 }, interpretation: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06.
A: yes
Rationale: Here, the command and interpretion given for the command is correct that 3rd maximum should be selected from given table rows. Hence, the label is 'yes'.
Q: Command: less { hop { filter_eq { all_rows ; year ; 1959 } ; rank } ; hop { filter_eq { all_rows ; year ; 1958 } ; rank } }, interpretation: the maximum date record of all rows is july 30 , 2008 . the region record of the row with superlative date record is japan .
A: | no |
Detailed Instructions: Indicate with `Yes` if the given question involves the provided reasoning `Category`. Indicate with `No`, otherwise. We define five categories of temporal reasoning. First: "event duration" which is defined as the understanding of how long events last. For example, "brushing teeth", usually takes few minutes. Second: "transient v. stationary" events. This category is based on the understanding of whether an event will change over time or not. For example, the sentence "he was born in the U.S." contains a stationary event since it will last forever; however, "he is hungry" contains a transient event since it will remain true for a short period of time. Third: "event ordering" which is the understanding of how events are usually ordered in nature. For example, "earning money" usually comes before "spending money". The fourth one is "absolute timepoint". This category deals with the understanding of when events usually happen. For example, "going to school" usually happens during the day (not at 2 A.M). The last category is "frequency" which refers to how often an event is likely to be repeated. For example, "taking showers" typically occurs ~5 times a week, "going to Saturday market" usually happens every few weeks/months, etc.
Problem:Sentence: With this, it became impossible for me to stay upstairs, he said, pointing to the scars on his forearm.
Question: Did he have the scars when he began living upstairs?
Category: Transient v. Stationary.
Solution: | Yes. |
Teacher: You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format.
Teacher: Now, understand the problem? If you are still confused, see the following example:
19:00 Hrs
Solution: 07:00 PM
Reason: For a 24-Hours format time larger than 12:00, we should subtract 12 hours from the given time, then add 'PM'. So, the output is correct.
Now, solve this instance: 05:11 Hrs
Student: | 05:11 AM |
In this task, you are given a date in a particular format and you need to convert to another format. If given format is "dd/mm/yyyy" then convert to "mm/dd/yyyy". If given format is "mm/dd/yyyy" then convert to "dd/mm/yyyy".
One example is below.
Q: 10/05/1847, input_format=dd/mm/yyyy
A: 05/10/1847
Rationale: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Q: 16/05/1615, input_format=dd/mm/yyyy
A: | 05/16/1615 |
Instructions: Given a sentence in Korean, provide an equivalent paraphrased translation in French that retains the same meaning both through the translation and the paraphrase.
Input: 두 개의 중등 학교 인 Heatherhill Secondary College와 Coomoora Secondary College는 Springvale Secondary College와 Chandler Secondary College가있는 Keysborough Secondary College와 합병되었습니다.
Output: | Les deux écoles secondaires, Heatherhill Secondary College et Coomoora Secondary College, ont été fusionnées avec le Springvale Secondary College et le Chandler Secondary College pour former le Keysborough Secondary College. |
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Example input: x = 3, equation weights = [4, 2]
Example output: 14
Example explanation: Here, the weights represent the polynomial: 4x + 2, so we should multiply 4 by 3, and add it to 2 which results in (4*3 + 2 =) 14.
Q: x = 6, equation weights = [7, 6]
A: | 48 |
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Example: THEM: i need the hats and the ball YOU: i can give you one hat and the ball. i want 2 books and 1 hat THEM: i have to have both hats and the ball or both hats and a book to make a deal YOU: sorry, i won`t make a deal without a hat THEM: if you take 1 hat i have to have everything else YOU: sorry can`t do THEM: no deal YOU: yesh no deal, sorry THEM: no deal YOU: no deal.
Example solution: No
Example explanation: Both participants do not agree to the deal, so the answer is No.
Problem: THEM: i would love the hat and the balls YOU: you can have the balls but i need the hat. THEM: ok you can have the hat and i get the balls if i can have the books to YOU: how about one book for each of us? THEM: deal YOU: great! 1 book, 1 hat for me. 1 book, 3 balls for you.
| Solution: Yes |
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Example input: [1, 2, 3]
Example output: [0.167, 0.333, 0.500]
Example explanation: The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example.
Q: [229.195, 132.524, 67.336, -42.468, 0.618]
A: | [ 0.592 0.342 0.174 -0.11 0.002] |
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
One example: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Solution is here: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Explanation: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
Now, solve this: [{'first': 66, 'second': -73}, {'first': -69, 'second': -59}, {'first': 22, 'second': 98}, {'first': 3, 'second': -76}, {'first': 28, 'second': 37}]
Solution: | [{'first': -69, 'second': -59}, {'first': 3, 'second': -76}, {'first': 22, 'second': 98}, {'first': 28, 'second': 37}, {'first': 66, 'second': -73}] |
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Example: Find the id and city of the student address with the highest average monthly rental.
Example solution: SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1
Example explanation: First we select the student's id and city of their address. Next, to find where each student lived we must join the "Addresses" table with the "Student_Addresses" table on rows with the same "address_id". Finally, we want to return the student address with the highest monthly rent. This is a good example.
Problem: Find the total number of courses offered.
| Solution: SELECT count(*) FROM COURSES |
Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny.
Example: News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq
Edit: twins
Example solution: Not Funny
Example explanation: The edited sentence is not making much sense, therefore it's not funny.
Problem: News Headline: The Democrats ’ hypocrisy fest : Disingenuous attacks on Bernie Sanders persist — and his {popularity} climbs
Edit: hairline
| Solution: Funny |
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
One example is below.
Q: I want you now to imagine a wearable robot that gives you superhuman abilities, or another one that takes wheelchair users up standing and walking again.
A: Želim da sada zamislite nosiv robot koji vam daje nadljudske sposobnosti, ili neki drugi koji omogučuje korisnicima invalidskih kolica da stoje i ponovno hodaju.
Rationale: The translation correctly preserves the characters in Croatian.
Q: And I'm in one of the most competitive environments in the world, where you work hard, play hard, you gotta be the best, you gotta be the best.
A: | A nalazim se u jednom od najnatjecateljskijih okružja na svijetu gdje teško radiš, igraš oštro, moraš biti najbolji, moraš biti najbolji. |
Teacher:In this task, you are given a country name, and you need to return the year in which the country became independent. Independence is a nation's independence or statehood, usually after ceasing to be a group or part of another nation or state, or more rarely after the end of military occupation.
Teacher: Now, understand the problem? Solve this instance: Russian Federation
Student: | 1991 |
Detailed Instructions: In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect.
Problem:"سیزده" رو دوست داشتم ایده نو و جذابی داشت که خوب هم پرداخت شده بود بازی ها خصوصاً "نوید محمدزاده" و " آزاده صمدی" خیلی خوب بودن کلیپ وسط فیلم هم عالی بود. حس خیلی خوبی دارم که دیدمش. manimoon..
Solution: | داستان |
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Example input: password = a
Example output: 5
Example explanation: Using 5 steps, it can become a strong password
Q: password = IXKOjj8yJofU95EnL8Bdh.1SCQVfOfC0
A: | 12 |
In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
Input: Consider Input: Set1: '{9, 10, 11, 12, 16, 17, 19}', Set2: '{4, 5, 12, 14, 15, 16, 17, 19, 20}'. How many elements are there in the union of Set1 and Set2 ?
Output: 12
Input: Consider Input: Set1: '{3, 11, 14, 15, 19}', Set2: '{1, 5, 6, 7, 9, 10, 12, 14, 15, 17}'. How many elements are there in the union of Set1 and Set2 ?
Output: 13
Input: Consider Input: Set1: '{3, 4, 8, 16, 18}', Set2: '{4, 10, 12, 15, 18, 19}'. How many elements are there in the union of Set1 and Set2 ?
| Output: 9
|
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
Example input: I want you now to imagine a wearable robot that gives you superhuman abilities, or another one that takes wheelchair users up standing and walking again.
Example output: Želim da sada zamislite nosiv robot koji vam daje nadljudske sposobnosti, ili neki drugi koji omogučuje korisnicima invalidskih kolica da stoje i ponovno hodaju.
Example explanation: The translation correctly preserves the characters in Croatian.
Q: It's a great place to start if you have questions.
A: | To je dobro mjesto za početi ako imate pitanja. |
In this task, you're given a sentence and question. Based on the information provided in a given sentence, you should identify the shortest continuous text span from the sentence that serves as an answer to the given question. Answer the question using coreference resolution. Coreference resolution is the task of clustering mentions in text that refer to the same underlying real world entities. For example let's take a sentence 'I voted for Obama because he was most aligned with my values, she said.' Here in this example 'I', 'my', and 'she' belong to the same cluster and 'Obama' and 'he' belong to the same cluster. Now let's discuss another example , original sentence: 'I voted for Trump because he was most aligned with my values',John said. Now here is the same sentence with resolved coreferences: 'John voted for Trump because Trump was most aligned with John's values',John said.
[Q]: Sentence: The father carried the sleeping boy in his bassinet. Question: Whose bassinet?
[A]: boy
[Q]: Sentence: During a game of tag, Ethan chased Luke because he was "it". Question: Who was "it"?
[A]: Ethan
[Q]: Sentence: As Andrea in the crop duster passed over Susan, she could see the landing strip. Question: Who could see the landing strip?
[A]: | Andrea
|
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
One example: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Solution is here: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Explanation: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
Now, solve this: [{'first': 92, 'second': -46}, {'first': -16, 'second': 8}, {'first': -71, 'second': -24}, {'first': -69, 'second': 99}]
Solution: | [{'first': -71, 'second': -24}, {'first': -69, 'second': 99}, {'first': -16, 'second': 8}, {'first': 92, 'second': -46}] |
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Example input: password = a
Example output: 5
Example explanation: Using 5 steps, it can become a strong password
Q: password = EIcIH5bqUsJjYRpi84NdYK5!5j3x
A: | 8 |
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
One example is below.
Q: crystal
A: rock
Rationale: A crystal is a type of rock, so rock is a valid hypernym output.
Q: cathedral
A: | edifice |
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
One example is below.
Q: কোনো মেয়ে ইসলাম ধর্ম গ্রহণ করলে আমি তাকে বিয়ে করতে রাজি(আমি কুরআন হাফেজ)।
A: religious
Rationale: Here it expresses hate against the religion, hence tagged as religious.
Q: মাদ্রাসায় সত্যিকারের লেখাপড়া হয় না, জঙ্গী তৈরি হয় - ব্যরিস্টার তানিয়া আমির
A: | religious |
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Example: Context: 'That sounds pretty reasonable as I am in need of firewood the most. Would it be most reasonable to each take what we need most and split the water down the middle?' 'Yes, it would.' 'I think that sounds fair. The problem is that there are 3 waters and one of us would get two and the other one. How should we sort that?'
Utterance: 'You can take the two water. I am not that thirsty most days.'
Example solution: No
Example explanation: In this utterance, the participant does not use self-need since they do not talk about any need for themselves.
Problem: Context: 'Hi. I am looking at possibly taking 3 of the food packages, 2 of the water packages and one of the firewood. ' 'Hi. Why do you need so many food packages?' 'Well, I have two teenage boys who will be with me. In normal circumstances they go through a lot of food. While camping, hiking and kayaking I know we will need plenty to keep their energy level high to do everything.🙂'
Utterance: 'Well I will definitely need 2 packages of food and 2 of firewood for survival.'
| Solution: Yes |
Q: In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Count the products that have the color description "white" or have the characteristic name "hot".
A: | SELECT count(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code = t4.color_code WHERE t4.color_description = "white" OR t3.characteristic_name = "hot" |
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Example: [47, 444, 859, 530, 197, 409]
Example solution: [47, 859, 197, 409]
Example explanation: The integers '444' and '530' are not prime integers and they were removed from the list.
Problem: [29, 716, 902, 588, 319, 751, 806, 243, 49, 657]
| Solution: [29, 751] |
In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance.
Example: [9, 40, -33, 12, 17, -32, 40]
Example solution: 0
Example explanation: The minimum absolute difference is 0 because '40 - 40 = 0' and '40' appears in the list twice. So this is a good example.
Problem: [53, 36, 81, 85, -41, -2, 86, 39, 37]
| Solution: 1 |
Detailed Instructions: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Q: x = 2, equation weights = [7, 9, 5]
A: | 51 |
You are given an array of integers, check if it is monotonic or not. If the array is monotonic, then return 1, else return 2. An array is monotonic if it is either monotonically increasing or monotonocally decreasing. An array is monotonically increasing/decreasing if its elements increase/decrease as we move from left to right
[32, 35, 38, 41, 44, 47, 50, 53, 56, 59, 62, 65, 68, 71, 74, 77, 80, 83, 86, 89, 92, 95, 98, 101] | 1 |
Answer the following question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
Answer: | Play Stote жаксы істейді |
Detailed Instructions: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Q: x = 1, equation weights = [2, 8, 3, 9]
A: | 22 |
Detailed Instructions: In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
Q: neennppepnnee
A: | neen |
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Let me give you an example: Fact: pesticides can harm animals.
The answer to this example can be: What can harm animals?
Here is why: It's a good question because it is formed by simply replacing the word "pesticides" with "what".
OK. solve this:
Fact: Ticks live on the surface of the host.
Answer: | Where do ticks live? |
Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'.
Q: McKellen was born on 25 May 1939 in Burnley, Lancashire, the son of Margery Lois (née Sutcliffe) and Denis Murray McKellen
A: | 25 May 1939 |
Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story.
Q: Premise: Trisha wants to be a writer.
Initial Context: She found out that she has a hard time getting started.
Original Ending: She read some books on how to be a good writer. Some common advice she got was to put the books down and write. She started to write about anything and soon she was writing a lot.
Counterfactual Context: She had an easy time writing poems.
A: | She read some books on how to be a good marketer. Some common advice she got was to put the books down and write a blog. She started to write about anything and soon she was writing a lot on the new blog. |
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Example input: THEM: i need the hats and the ball YOU: i can give you one hat and the ball. i want 2 books and 1 hat THEM: i have to have both hats and the ball or both hats and a book to make a deal YOU: sorry, i won`t make a deal without a hat THEM: if you take 1 hat i have to have everything else YOU: sorry can`t do THEM: no deal YOU: yesh no deal, sorry THEM: no deal YOU: no deal.
Example output: No
Example explanation: Both participants do not agree to the deal, so the answer is No.
Q: THEM: if i can have the books and the hats you can have the balls YOU: if i can have the books you can ahve everything else THEM: okay that's fine.
A: | Yes |
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken.
Q: But as in all things , only you can figure it out and decide what 's best for you .
A: | no |
Instructions: Read the given message of a sender that is intended to start a conversation, and determine whether it was written by a 'Bot' or by a 'Human'. Typically, bots will have a more disjointed manner of speaking, and will make statements that don't relate to each other, don't make coherent sense, or otherwise appear unnatural. Human will make statements in a more or less coherent and logical way. Since these messages are supposed to be conversation openers, humans will generally start sensibly with a hello or an introduction. Humans may also ask why the other person is not responding. Bots, however, may act as if they are in the middle of a nonsensical conversation.
Input: SENDER A: Why? Because I got the kids three days a week and if I had a fulltime job...
Output: | Bot |
Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story.
Q: Premise: I was reading at night.
Initial Context: Suddenly, the lamp light went out.
Original Ending: I replaced the bulb. The lamp worked like new! Finally, I could resume reading my book.
Counterfactual Context: I fell asleep while reading and woke up at 3am still clutching my book.
A: | I noticed the bulb in my lamp had burned out, so I replaced the bulb. The lamp worked like new! Finally, I could resume reading my book. |
Instructions: You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below:
Tense: The verbs in the sentence are changed in tense.
Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around.
Voice: If the verbs are in active voice, they're changed to passive or the other way around.
Adverb: The paraphrase has one adverb or more than the original sentence.
Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns.
Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym.
Input: original sentence: As Andrea in the crop duster passed over Susan , she could see the landing strip . paraphrase: As Andrea in the crop duster is passing over Susan , she can see the landing strip .
Output: | Tense |
Detailed Instructions: In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance.
Q: [-34, -12, 87, 1, -52, -75, -96, -78, 3, 37]
A: | 2 |
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Example input: [1, 2, 3]
Example output: [0.167, 0.333, 0.500]
Example explanation: The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example.
Q: [34.391, -41.673, 232.552, 63.391, -56.03]
A: | [ 0.148 -0.179 1. 0.272 -0.241] |
You will be given a definition of a task first, then some input of the task.
In this task, you are given a country name, and you need to return the year in which the country became independent. Independence is a nation's independence or statehood, usually after ceasing to be a group or part of another nation or state, or more rarely after the end of military occupation.
Argentina
Output: | 1816 |
Given the task definition and input, reply with output. This task is to find the number of 'For' loops present in the given cpp program.
int num=1,k=0;
int count(int n)
{
for(int i=2;i<=sqrt(n);i++)
{
if(n%i==0&&i>=k)
{
num++;
k=i;
count(n/i);
k=0;
}
}
return (num);
}
int main()
{
int i,n,a[100];
cin>>n;
for(i=0;i<n;i++)
{
cin>>a[i];
}
for(i=0;i<n;i++)
{cout<<count(a[i])<<endl;num=1;k=0;}
return 0;
}
| 3 |
Q: Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity).
Entity 1: cellulose
Entity 2: balloon - blood vessel
A: | no |
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Q: [-92.468 -97.017 6.769 -54.69 -28.157 -65.168 41.357 -54.509]
A: -97.017
****
Q: [ 20.914 -85.027 31.412 -59.499 95.154 20.892 -16.175]
A: 95.154
****
Q: [ 39.135 25.041 -76.694 63.879 90.979 -73.199 57.561 87.477 24.53
-35.483]
A: | 90.979
****
|
In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer
Example input: 6 @ 17
Example output: 23
Example explanation: Here, '@' represents the addition operation. So, the answer is 23 (6+17=23).
Q: 6549 # 5879 # 885 @ 7399 # 7136
A: | 48 |
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Let me give you an example: difficult
The answer to this example can be: No
Here is why: The word difficult has no natural English rhymes and so the model outputs No as specified in the instructions.
OK. solve this:
men
Answer: | zen |
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Example: THEM: i need the hats and the ball YOU: i can give you one hat and the ball. i want 2 books and 1 hat THEM: i have to have both hats and the ball or both hats and a book to make a deal YOU: sorry, i won`t make a deal without a hat THEM: if you take 1 hat i have to have everything else YOU: sorry can`t do THEM: no deal YOU: yesh no deal, sorry THEM: no deal YOU: no deal.
Example solution: No
Example explanation: Both participants do not agree to the deal, so the answer is No.
Problem: THEM: i'd love to have the hat and two balls YOU: i need the hat. you can have all the balls. i want the hat and the book. THEM: i really need that hat. i'll take the hat only at this point YOU: i can't agree to that sorry. the book and the hat is the only option i can take. THEM: same here. no deal then YOU: no deal. THEM: hm we gotta select no deal somehow YOU: no deal. THEM: no deal YOU: no deal.
| Solution: No |
Detailed Instructions: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Q: Context: 'Water is not that important for us but the firewood is a deal breaker for us ☹️' 'I see.... Well we really would like the firewood too though. Could you reconsider it makes a big difference for us.' 'Sorry I will only consider a deal if I can get at least two fire wood.'
Utterance: 'Well if that is the case then I want 1 Firewood 3 waters and 2 Food then. '
A: | No |
You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format.
Q: 11:39 Hrs
A: | 11:39 AM |
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
Input: Consider Input: result
Output: end
Input: Consider Input: photographic
Output: detailed
Input: Consider Input: insect
| Output: organism
|
In this task you're given two statements in Marathi. You must judge whether the second sentence is the cause or effect of the first one. The sentences are separated by a newline character. Output either the word 'cause' or 'effect' .
Example: मी पेंडुलम ढकलले.
ते मागे-पुढे फिरले.
Example solution: effect
Example explanation: The second statement is an effect of the first statement as if you disturb a pendulum it will oscillate
Problem: त्या माणसाला डासांनी चावले.
तो जंगलात तळ ठोकून गेला.
| Solution: cause |
In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.
Example input: bYubMFxyTqR, AcDbMFxSnI
Example output: bYubfmxyTqR, AcDbfmxSnI
Example explanation: Here, 'bMFx' is the longest common substring in both the input strings 'bYubMFxyTqR' and 'AcDbMFxSnI'. Sorting it and converting to lowercase gives 'bfmx'. Replacing 'bfmx' instead of 'bMFx' in the two strings gives 'bYubfmxyTqR' and 'AcDbfmxSnI'
Q: jWoraifuZDJcJwO, sUKfYAfuZDJcJXcsmoHE
A: | jWoraicdfjjuzwO, sUKfYAcdfjjuzXcsmoHE |
Instructions: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
Input: uncarpeted
Output: | carpeted |
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Q: password = kcBv0Ct5ILwY1MTXMe
A: | 0 |
Detailed Instructions: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Q: Sentence: Have you decided {{ who }} will be assisting tax - wise for these two countries ?
Word: who
A: | WP |
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
One example is below.
Q: I want you now to imagine a wearable robot that gives you superhuman abilities, or another one that takes wheelchair users up standing and walking again.
A: Želim da sada zamislite nosiv robot koji vam daje nadljudske sposobnosti, ili neki drugi koji omogučuje korisnicima invalidskih kolica da stoje i ponovno hodaju.
Rationale: The translation correctly preserves the characters in Croatian.
Q: (Applause) The most powerful thing of all, it's not that I didn't achieve before then -- oh my God, I did.
A: | (Pljesak) Najmoćnija stvar od svega, nije da nisam uspjela prije toga -- o moj Bože, jesam. |
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
Example: twotwoonesixzeronine
Example solution: 221609
Example explanation: The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example.
Problem: twothreetwotwoeightfoursixeightsixfournine
| Solution: 23228468649 |
Instructions: In this task you're given two statements in Marathi. You must judge whether the second sentence is the cause or effect of the first one. The sentences are separated by a newline character. Output either the word 'cause' or 'effect' .
Input: नर्सने रुग्णाच्या इंजेक्शनसाठी सुई तयार केली.
रुग्ण तणावग्रस्त झाला.
Output: | effect |
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Example input: password = a
Example output: 5
Example explanation: Using 5 steps, it can become a strong password
Q: password = LkhZc8yqQ8YGJSsZ
A: | 0 |
Detailed Instructions: Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Q: I almost got found out at work today. They almost found out that I don't have tentacles.
A: | Listen, I told you to wear that special sweater. |
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
--------
Question: Context: 'Hello I'm really hungry and thirsty and want some food and water if that's ok with you. '
Utterance: 'Well some is okay but not all. The thing is that we left in a hurry and forgot to pick up the bag with the extra food items. I am sorry but we have kids with us so we will need the food. Am sure you understand ☹️'
Answer: Yes
Question: Context: 'I could really use some extra firewood!' 'So could I. How about we split the firewood?' 'How about I take 2 firewood but you can have 2 waters? Water is pretty important and I have a little extra.'
Utterance: 'That sounds fair.'
Answer: No
Question: Context: 'Well, I do need some of each, what about I take 3 food and 1 each of the other two?' 'I don't mind taking 2 of the water as I need it for a medical condition and 2 firewood however I would like to get 1 of the food.' 'You need water the most?'
Utterance: 'I am constantly thirsty and having water on hand is needed. Why is gathering food an issue for you?'
Answer: | Yes
|
Detailed Instructions: In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
Q: eneeeenzzz
A: | neeeen |
Detailed Instructions: In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other.
Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise
Problem:'English : “Since we want the tension climbing for months with the war environment deepening to come to an end, demanded the process concerning lifting parliamentary immunities be lifted and that the process be handled in peaceful means by democratic will of all MPs”.','Kurdish : ‘Gelê kurd bi tesviyekirina siyasetmedaran dev ji berxwedana siyasî berna de. Eger wisa bûya, dema ku di sala 1994an de Orhan Dogan, Leyla Zana û Hatîp Dicle bi darê zorê ji hêla polêsan ve hatibûn binçavkirin, dê pirsgirêka kurd jî xelas bûbûya.’'
Solution: | Yes |
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Example: [47, 444, 859, 530, 197, 409]
Example solution: [47, 859, 197, 409]
Example explanation: The integers '444' and '530' are not prime integers and they were removed from the list.
Problem: [173, 468, 16, 483, 243, 770, 995, 380, 788, 606, 93]
| Solution: [173] |
In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list.
One example is below.
Q: [0,1,0,2,5,1]
A: [2,5]
Rationale: The only elements that are not duplicated is 2 and 5. This is a good example.
Q: [7, 2, 1, 2, 0, 7, 5, 5, 2, 6]
A: | [1, 0, 6] |
Detailed Instructions: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Q: [-33.671 -86.186 93.623 -8.065 74.861 10.939 -21.687 -56.202 -10.084
-21.349]
A: | 93.623 |
Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event.
Q: He was taken to the emergency department and given intravenous methylprednisolone sodium succinate and intravenous diphenhydramine hydrochloride.
A: | non-adverse drug event |
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
Q: And there are two important messages, or two lessons, to take from that reality.
A: | I postoje dvije važne poruke, ili dvije lekcije, koje možete uzeti iz te stvarnosti. |
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity).
Q: Entity 1: spinach
Entity 2: tail
A: | no |
instruction:
In this task, you are given a string with unique characters in it and you need to return the character from the string which has the maximum ASCII value. ASCII stands for American Standard Code For Information Interchange and It assigns a unique number to each character. The characters [a - z] have an ASCII range of 97-122 and [A-Z] have an ASCII range of 65-90 respectively.
question:
OfoWUgTbHZIr
answer:
r
question:
jBgweLIdOtv
answer:
w
question:
vpbIGwacxXQoJOAgZ
answer:
| x
|
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
Example: [2,5,1,4],[2,5,8,4,2,0]
Example solution: [2,4,5]
Example explanation: The elements 2,4, and 5 are in both lists. This is a good example.
Problem: [9, 2, 10, 6, 1, 1, 9, 1, 1] , [2, 4, 3, 3, 8, 2, 5, 4, 7]
| Solution: [2] |
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Example input: Fact: pesticides can harm animals.
Example output: What can harm animals?
Example explanation: It's a good question because it is formed by simply replacing the word "pesticides" with "what".
Q: Fact: Animals require a type of fluid to survive.
A: | What requires a type of fluid to survive? |
In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list.
Example: [16, 205, 171, 2, 9, 317]
Example solution: [16, 256, 128, 2, 8, 256]
Example explanation: Every integer in the input list is rounded to the nearest power of 2. The number 2 and 16 are in the input list and both are a power of 2, therefore rounding to the closest power of 2 returns the same number. This is a good example.
Problem: [248, 514, 387, 3866, 9, 52, 4, 191]
| Solution: [256, 512, 512, 4096, 8, 64, 4, 128] |
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Example: Find the id and city of the student address with the highest average monthly rental.
Example solution: SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1
Example explanation: First we select the student's id and city of their address. Next, to find where each student lived we must join the "Addresses" table with the "Student_Addresses" table on rows with the same "address_id". Finally, we want to return the student address with the highest monthly rent. This is a good example.
Problem: Find all the building full names containing the word "court".
| Solution: SELECT building_full_name FROM Apartment_Buildings WHERE building_full_name LIKE "%court%" |
Detailed Instructions: We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty.
Q: If I'm not mistaken, we were talking about "murdering children".
A: | Invalid |
In this task, you are given a date in a particular format and you need to convert to another format. If given format is "dd/mm/yyyy" then convert to "mm/dd/yyyy". If given format is "mm/dd/yyyy" then convert to "dd/mm/yyyy".
07/10/1630, input_format=dd/mm/yyyy | 10/07/1630 |
Detailed Instructions: In this task, you are given a date in a particular format and you need to convert to another format. If given format is "dd/mm/yyyy" then convert to "mm/dd/yyyy". If given format is "mm/dd/yyyy" then convert to "dd/mm/yyyy".
Problem:05/13/1838, input_format=mm/dd/yyyy
Solution: | 13/05/1838 |
In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect.
Q: واقعا و به جرات می تونم بگم فیلم خوبیه که با کشش عجیبی تو رو با خودش می بره و هرگز رهات نمی کنه و این لذتبخشه ....
A: داستان
****
Q: با سلام و احترام یک فیلم عالی به لحاظ دقت در ساخت و بازیهای عالی و درخشان دیدن فیلم رو حتما توصیه میکنم
A: کارگردانی
****
Q: واقعا فیلم ضعیف با بازی های مصنوعی..اصلا فکر نمیکردم تو هنر و تجربه هم فیلم به این بدی هم وجود ذاشته باشه
A: | بازی
****
|
This task is to find the number of 'For' loops present in the given cpp program.
[EX Q]: int Factor(int, int);
int main()
{
int n, a, i;
scanf("%d",&n);
for (i = 1;i <= n;i++)
{
scanf("%d",&a);
printf("%d\n",Factor(a, 2));
}
return 0;
}
int Factor(int a,int p)
{
int i, j, z = 1;
if (a < p)
z = 0;
else
{
for (i = p;i <= a;i++)
{
if (a % i == 0)
{
z += Factor(a / i, i);
}
}
}
return z;
}
[EX A]: 2
[EX Q]: void main()
{
int fac(int a,int b);
int n,i,m,a[100];
scanf("%d",&n);
for(i=0;i<n;i++)
scanf("%d",&a[i]);
for(i=0;i<n;i++)
{
m=fac(a[i],2);
printf("%d\n",m);
}
}
int fac(int a,int b)
{
int j,i;
if(a<b) j=0;
else
{
j=1;
for(i=b;i<a;i++)
{
if(a%i==0) j=j+fac(a/i,i);
}
}
return(j);
}
[EX A]: 3
[EX Q]: /*
* 1.cpp
*
* Created on: 2010-12-1
* Author: ???
* ??? ????
*/
int g(int x,int j){
for(j++;j<=x;j++){
if(x==j)
return 1;
if(x%j==0&&x/j>=j)
return g(x/j,j-1)+g(x,j);
}
return 0;
}
int main(){
int n,a;
cin>>n;
for(int i=1;i<=n;i++){
cin>>a;
cout<<g(a,1)<<endl;
}
return 0;
}
[EX A]: | 2
|
Detailed Instructions: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Q: [28.82, -37.0, 128.108]
A: | [ 0.24 -0.309 1.068] |
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Example input: Find the id and city of the student address with the highest average monthly rental.
Example output: SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1
Example explanation: First we select the student's id and city of their address. Next, to find where each student lived we must join the "Addresses" table with the "Student_Addresses" table on rows with the same "address_id". Finally, we want to return the student address with the highest monthly rent. This is a good example.
Q: How many debates are there?
A: | SELECT count(*) FROM debate |
In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect.
--------
Question: تیکه های خنده دار و بعضاً تیکه های منشوری تو لفافه لحظات خنده داری تو این فیلم ایجاد کرده بودن. بازیگران اصلی (آقایان جعفری و عزتی) هم چیز جدیدی برای ارائه نداشتن و البته به خوبی همیشه شون بودن. در نهایت فیلمی نبود که اخرش حسرت اینو بخورین که وقتتون تلف شده و یه بار دیدنش می ارزه.
Answer: بازی
Question: فیلم سیار تاثیرگذار و خوش ساخت با بازی ها بسیار خوب و خانم صدرعرفایی یک ستاره بی نظیر در این فیلم هستن که تماشای هنرنمایی ایشون در این فیلم خودش به تنهایی دلیلی برای دیدن این فیلم میتونه باشه. دست مریزاد به این هنرمندان، زده باد.
Answer: کارگردانی
Question: آیا به چیزی که به عنوان فیلمنامه نوشتید باور دارید ؟ ! ؟ یک تصادف بعد کشمکش های انحرافی در آخر هم برنده گنج در شرط بندی من به چیزی که شما نوشتید و ساختید هیچ باور ندارم
Answer: | داستان
|
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Example input: Fact: pesticides can harm animals.
Example output: What can harm animals?
Example explanation: It's a good question because it is formed by simply replacing the word "pesticides" with "what".
Q: Fact: Animals exchange information with sounds, chemicals or visual cues.
A: | Animals do what with sounds, chemicals or visual cues? |
In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other.
Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise
[Q]: 'English : Berfo Kırbayır was calling out to the then Minister Ergin in her letter as follows:','Kurdish : Dayîka Berfo di nameya xwe de ji Wezîrê Dadê yê wê demê Sadullah Ergin re wiha bang dikir:'
[A]: Yes
[Q]: 'English : Abdullah Abdulkadiroğlu, Abdullah Kılıç, Ahmet Dönmez, Ali Akkuş, Arda Akın, Ayşe Nazlı Ilıcak, Bayram Kaya, Bilal Şahin, Bülent Ceyhan, Bülent Mumay, Bünyamin Köseli, Azmi Cemal Kalyoncu, Cevheri Güven, Cihan Acar, Cuma Ulus, Emre Soncan, Ercan Gün, Erkan Akkuş, Ertuğrul Erbaş,Fatih Akalan, Fatih Yağmur, Habip Güler, Hanım Büşra Erdal, Haşim Söylemez, Hüseyin Aydın, İbrahim Balta, Kamil Maman, Kerim Gün,Levent Kenez, Mahmut Hazar, Mehmet Gündem, Metin Yıkar, Muhammed Fatih Uğur, Mustafa Erkan Acar, Mürsel Genç, Selahattin Sevi, Seyid Kılıç,Turan Görüryılmaz, Ufuk Şanlı, Ufuk Emin Köroğlu, Yakup Sağlam and Yakup Çetin.','Kurdish : Li gor nûçeya Ajansa Nûçeyan a Doganê, rojnamevanên bi navê Yakup Sağlam, İbrahim Balta, Seyit Kılıç, Bayram Kaya û Cihan Acar hatine desteserkirin. (EKN/ÇT/MB)'
[A]: No
[Q]: 'English : Paylan said he thinks that in case a secret voting is held in the voting that will continue on Friday, majority which requires 330 voting will not be constituted.','Kurdish : Paylan diyar kir li gorî wî eger hilbijartina roja Înê bi awayekî veşartî pêk were, dê rêjeya dengan têrê neke ku qanûn bê guhertin.'
[A]: | Yes
|
Given the task definition and input, reply with output. This task is to find the number of 'For' loops present in the given cpp program.
/**
* @file ????.cpp
* @author ?? 1000012792
* @date 2010.12.3
*/
int f(int n, int m); //??f:????m????n?????????????????
int main()
{
int n, num, i;
cin >> n; //n???n???
for(i=0;i<n;i++)
{
cin >> num; //????????num,????????
cout << f(num, 2) << endl;
}
return 0;
}
int f(int n, int m)
{
int i, count=0;
if(n==1)
return 1; //??n=1?????????1
for(i=m;i<=n;i++) //?????i?m?????n??
{
if(n%i==0) //??n??i???????n/i????(???????i)???????f(n/i,i)
count += f(n/i,i); //count?????????
}
return count; //??count??
}
| 2 |
Detailed Instructions: In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative.
Q: Wo sind die Highlights? . Auch nach zweimal hören konnte ich keine Highlights entdecken. Die Zusammenstellung hat keine Inspiration und viele Stücke erinnern eher an belanglose Fahrstuhlmusik im Kaufhaus. Als Hintergrundmusik gerade noch tauglich.
A: | NEG |
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
Example input: I_TURN_LEFT I_JUMP
Example output: jump left
Example explanation: If the agent turned to the left and jumped, then the agent jumped to the left.
Q: I_TURN_LEFT I_LOOK I_TURN_LEFT I_TURN_LEFT I_WALK I_TURN_LEFT I_TURN_LEFT I_WALK
A: | walk opposite left twice after look left |
You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format.
Input: Consider Input: 10:26 Hrs
Output: 10:26 AM
Input: Consider Input: 03:25 Hrs
Output: 03:25 AM
Input: Consider Input: 14:25 Hrs
| Output: 02:25 PM
|
Subsets and Splits