inputs stringlengths 261 561 | targets stringlengths 10 21 | _template_idx int64 0 9 | _task_source stringclasses 1
value | _task_name stringclasses 1
value | _template_type stringclasses 2
values |
|---|---|---|---|---|---|
TASK DEFINITION: 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: 29/07/1629, input_format=dd/mm/yyyy
SOLUTION: 07/29/1629
PROBLEM: 08/02/1746, input_format=dd/mm/yyyy
SOLUTION: 02/08/1746
PROBLEM: 04/13/1824, input_format=mm/dd/yyyy
SOLUTION: | 13/04/1824
| 8 | NIv2 | task1404_date_conversion | fs_opt |
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".
Let me give you an example: 10/05/1847, input_format=dd/mm/yyyy
The answer to this example can be: 05/10/1847
Here is why: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
OK. solve this:
02/12/1622, input_format=dd/mm/yyyy
Answer: | 12/02/1622 | 8 | NIv2 | task1404_date_conversion | fs_opt |
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".
Input: Consider Input: 05/13/1838, input_format=mm/dd/yyyy
Output: 13/05/1838
Input: Consider Input: 09/06/1907, input_format=mm/dd/yyyy
Output: 06/09/1907
Input: Consider Input: 12/15/1704, input_format=mm/dd/yyyy
| Output: 15/12/1704
| 2 | NIv2 | task1404_date_conversion | fs_opt |
instruction:
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".
question:
06/05/1822, input_format=mm/dd/yyyy
answer:
05/06/1822
question:
09/10/1610, input_format=mm/dd/yyyy
answer:
10/09/1610
question:
27/12/1928, input_format=dd/mm/yyyy
answer:
| 12/27/1928
| 9 | NIv2 | task1404_date_conversion | fs_opt |
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".
Example Input: 05/03/2006, input_format=dd/mm/yyyy
Example Output: 03/05/2006
Example Input: 09/03/1616, input_format=dd/mm/yyyy
Example Output: 03/09/1616
Example Input: 06/02/1897, input_format=mm/dd/yyyy
Example Output: | 02/06/1897
| 3 | NIv2 | task1404_date_conversion | fs_opt |
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: 12/06/1715, input_format=mm/dd/yyyy
A: | 06/12/1715 | 9 | NIv2 | task1404_date_conversion | fs_opt |
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".
Q: 12/05/1867, input_format=mm/dd/yyyy
A: 05/12/1867
****
Q: 10/11/1629, input_format=dd/mm/yyyy
A: 11/10/1629
****
Q: 12/03/1795, input_format=mm/dd/yyyy
A: | 03/12/1795
****
| 4 | NIv2 | task1404_date_conversion | fs_opt |
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".
See one example below:
Problem: 10/05/1847, input_format=dd/mm/yyyy
Solution: 05/10/1847
Explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Problem: 05/15/1874, input_format=mm/dd/yyyy
Solution: | 15/05/1874 | 4 | NIv2 | task1404_date_conversion | fs_opt |
instruction:
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".
question:
08/02/1746, input_format=dd/mm/yyyy
answer:
02/08/1746
question:
24/11/1602, input_format=dd/mm/yyyy
answer:
11/24/1602
question:
04/26/1748, input_format=mm/dd/yyyy
answer:
| 26/04/1748
| 9 | NIv2 | task1404_date_conversion | fs_opt |
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".
[EX Q]: 01/06/1964, input_format=mm/dd/yyyy
[EX A]: 06/01/1964
[EX Q]: 06/22/1981, input_format=mm/dd/yyyy
[EX A]: 22/06/1981
[EX Q]: 01/06/1964, input_format=mm/dd/yyyy
[EX A]: | 06/01/1964
| 6 | NIv2 | task1404_date_conversion | fs_opt |
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".
Input: Consider Input: 03/13/1991, input_format=mm/dd/yyyy
Output: 13/03/1991
Input: Consider Input: 01/15/1758, input_format=mm/dd/yyyy
Output: 15/01/1758
Input: Consider Input: 27/12/1951, input_format=dd/mm/yyyy
| Output: 12/27/1951
| 2 | NIv2 | task1404_date_conversion | fs_opt |
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: 21/07/1631, input_format=dd/mm/yyyy
A: | 07/21/1631 | 9 | NIv2 | task1404_date_conversion | fs_opt |
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".
Input: Consider Input: 02/03/1727, input_format=dd/mm/yyyy
Output: 03/02/1727
Input: Consider Input: 12/12/1976, input_format=dd/mm/yyyy
Output: 12/12/1976
Input: Consider Input: 07/11/1677, input_format=dd/mm/yyyy
| Output: 11/07/1677
| 2 | NIv2 | task1404_date_conversion | fs_opt |
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".
--------
Question: 02/07/1740, input_format=mm/dd/yyyy
Answer: 07/02/1740
Question: 07/10/1630, input_format=dd/mm/yyyy
Answer: 10/07/1630
Question: 10/30/2004, input_format=mm/dd/yyyy
Answer: | 30/10/2004
| 7 | NIv2 | task1404_date_conversion | fs_opt |
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".
--------
Question: 02/06/1633, input_format=mm/dd/yyyy
Answer: 06/02/1633
Question: 02/25/1638, input_format=mm/dd/yyyy
Answer: 25/02/1638
Question: 10/17/1714, input_format=mm/dd/yyyy
Answer: | 17/10/1714
| 7 | NIv2 | task1404_date_conversion | fs_opt |
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: 10/05/1847, input_format=dd/mm/yyyy
Solution is here: 05/10/1847
Explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Now, solve this: 16/05/1615, input_format=dd/mm/yyyy
Solution: | 05/16/1615 | 6 | NIv2 | task1404_date_conversion | fs_opt |
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".
Input: Consider Input: 06/02/1897, input_format=mm/dd/yyyy
Output: 02/06/1897
Input: Consider Input: 04/13/1824, input_format=mm/dd/yyyy
Output: 13/04/1824
Input: Consider Input: 13/04/1905, input_format=dd/mm/yyyy
| Output: 04/13/1905
| 2 | NIv2 | task1404_date_conversion | fs_opt |
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".
Example: 10/05/1847, input_format=dd/mm/yyyy
Example solution: 05/10/1847
Example explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Problem: 07/21/1845, input_format=mm/dd/yyyy
| Solution: 21/07/1845 | 5 | NIv2 | task1404_date_conversion | fs_opt |
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".
See one example below:
Problem: 10/05/1847, input_format=dd/mm/yyyy
Solution: 05/10/1847
Explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Problem: 26/07/1616, input_format=dd/mm/yyyy
Solution: | 07/26/1616 | 4 | NIv2 | task1404_date_conversion | fs_opt |
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".
Input: Consider Input: 10/02/2010, input_format=mm/dd/yyyy
Output: 02/10/2010
Input: Consider Input: 04/22/1805, input_format=mm/dd/yyyy
Output: 22/04/1805
Input: Consider Input: 20/05/1687, input_format=dd/mm/yyyy
| Output: 05/20/1687
| 2 | NIv2 | task1404_date_conversion | fs_opt |
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".
12/23/1661, input_format=mm/dd/yyyy
23/12/1661
11/16/1884, input_format=mm/dd/yyyy
16/11/1884
25/07/1707, input_format=dd/mm/yyyy
| 07/25/1707
| 0 | NIv2 | task1404_date_conversion | fs_opt |
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".
[EX Q]: 02/20/1893, input_format=mm/dd/yyyy
[EX A]: 20/02/1893
[EX Q]: 12/16/1626, input_format=mm/dd/yyyy
[EX A]: 16/12/1626
[EX Q]: 06/19/1888, input_format=mm/dd/yyyy
[EX A]: | 19/06/1888
| 6 | NIv2 | task1404_date_conversion | fs_opt |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
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".
10/05/1847, input_format=dd/mm/yyyy
Solution: 05/10/1847
Why? The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
New input: 02/02/1621, input_format=dd/mm/yyyy
Solution: | 02/02/1621 | 0 | NIv2 | task1404_date_conversion | fs_opt |
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: 02/25/1638, input_format=mm/dd/yyyy
A: | 25/02/1638 | 9 | NIv2 | task1404_date_conversion | fs_opt |
Teacher: 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".
Teacher: Now, understand the problem? If you are still confused, see the following example:
10/05/1847, input_format=dd/mm/yyyy
Solution: 05/10/1847
Reason: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Now, solve this instance: 08/05/1922, input_format=mm/dd/yyyy
Student: | 05/08/1922 | 2 | NIv2 | task1404_date_conversion | fs_opt |
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".
Q: 03/11/1954, input_format=mm/dd/yyyy
A: 11/03/1954
****
Q: 04/24/1708, input_format=mm/dd/yyyy
A: 24/04/1708
****
Q: 06/07/1721, input_format=dd/mm/yyyy
A: | 07/06/1721
****
| 4 | NIv2 | task1404_date_conversion | fs_opt |
Teacher: 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".
Teacher: Now, understand the problem? If you are still confused, see the following example:
10/05/1847, input_format=dd/mm/yyyy
Solution: 05/10/1847
Reason: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Now, solve this instance: 08/09/1851, input_format=dd/mm/yyyy
Student: | 09/08/1851 | 2 | NIv2 | task1404_date_conversion | fs_opt |
instruction:
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".
question:
09/06/1907, input_format=mm/dd/yyyy
answer:
06/09/1907
question:
10/01/1676, input_format=mm/dd/yyyy
answer:
01/10/1676
question:
08/09/1851, input_format=dd/mm/yyyy
answer:
| 09/08/1851
| 9 | NIv2 | task1404_date_conversion | fs_opt |
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".
Example: 10/05/1847, input_format=dd/mm/yyyy
Example solution: 05/10/1847
Example explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Problem: 19/01/1830, input_format=dd/mm/yyyy
| Solution: 01/19/1830 | 5 | NIv2 | task1404_date_conversion | fs_opt |
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".
Example input: 10/05/1847, input_format=dd/mm/yyyy
Example output: 05/10/1847
Example explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Q: 23/10/1822, input_format=dd/mm/yyyy
A: | 10/23/1822 | 3 | NIv2 | task1404_date_conversion | fs_opt |
TASK DEFINITION: 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: 01/15/1758, input_format=mm/dd/yyyy
SOLUTION: 15/01/1758
PROBLEM: 30/10/1710, input_format=dd/mm/yyyy
SOLUTION: 10/30/1710
PROBLEM: 23/10/1822, input_format=dd/mm/yyyy
SOLUTION: | 10/23/1822
| 8 | NIv2 | task1404_date_conversion | fs_opt |
Part 1. Definition
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".
Part 2. Example
10/05/1847, input_format=dd/mm/yyyy
Answer: 05/10/1847
Explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Part 3. Exercise
26/02/1962, input_format=dd/mm/yyyy
Answer: | 02/26/1962 | 7 | NIv2 | task1404_date_conversion | fs_opt |
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".
Example input: 10/05/1847, input_format=dd/mm/yyyy
Example output: 05/10/1847
Example explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Q: 12/05/1867, input_format=mm/dd/yyyy
A: | 05/12/1867 | 3 | NIv2 | task1404_date_conversion | fs_opt |
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".
Q: 10/12/1877, input_format=dd/mm/yyyy
A: 12/10/1877
****
Q: 27/08/1830, input_format=dd/mm/yyyy
A: 08/27/1830
****
Q: 11/03/1897, input_format=mm/dd/yyyy
A: | 03/11/1897
****
| 4 | NIv2 | task1404_date_conversion | fs_opt |
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".
--------
Question: 06/26/1865, input_format=mm/dd/yyyy
Answer: 26/06/1865
Question: 10/10/1889, input_format=mm/dd/yyyy
Answer: 10/10/1889
Question: 02/12/1630, input_format=mm/dd/yyyy
Answer: | 12/02/1630
| 7 | NIv2 | task1404_date_conversion | fs_opt |
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".
[Q]: 14/12/1858, input_format=dd/mm/yyyy
[A]: 12/14/1858
[Q]: 02/06/1633, input_format=mm/dd/yyyy
[A]: 06/02/1633
[Q]: 18/04/2007, input_format=dd/mm/yyyy
[A]: | 04/18/2007
| 5 | NIv2 | task1404_date_conversion | fs_opt |
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".
03/07/1937, input_format=dd/mm/yyyy
07/03/1937
05/03/2006, input_format=dd/mm/yyyy
03/05/2006
08/01/1912, input_format=mm/dd/yyyy
| 01/08/1912
| 0 | NIv2 | task1404_date_conversion | fs_opt |
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".
Let me give you an example: 10/05/1847, input_format=dd/mm/yyyy
The answer to this example can be: 05/10/1847
Here is why: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
OK. solve this:
30/07/1780, input_format=dd/mm/yyyy
Answer: | 07/30/1780 | 8 | NIv2 | task1404_date_conversion | fs_opt |
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".
Q: 04/05/1894, input_format=mm/dd/yyyy
A: 05/04/1894
****
Q: 03/07/1937, input_format=dd/mm/yyyy
A: 07/03/1937
****
Q: 08/12/1951, input_format=dd/mm/yyyy
A: | 12/08/1951
****
| 4 | NIv2 | task1404_date_conversion | fs_opt |
Given the task definition, example input & output, solve the new input case.
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".
Example: 10/05/1847, input_format=dd/mm/yyyy
Output: 05/10/1847
The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
New input case for you: 06/10/1720, input_format=dd/mm/yyyy
Output: | 10/06/1720 | 1 | NIv2 | task1404_date_conversion | fs_opt |
instruction:
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".
question:
03/07/1937, input_format=dd/mm/yyyy
answer:
07/03/1937
question:
10/01/1676, input_format=mm/dd/yyyy
answer:
01/10/1676
question:
06/10/1720, input_format=dd/mm/yyyy
answer:
| 10/06/1720
| 9 | NIv2 | task1404_date_conversion | fs_opt |
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".
Q: 08/08/1625, input_format=dd/mm/yyyy
A: 08/08/1625
****
Q: 10/03/1753, input_format=dd/mm/yyyy
A: 03/10/1753
****
Q: 04/22/1805, input_format=mm/dd/yyyy
A: | 22/04/1805
****
| 4 | NIv2 | task1404_date_conversion | fs_opt |
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: 10/05/1847, input_format=dd/mm/yyyy
Solution is here: 05/10/1847
Explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Now, solve this: 12/03/1766, input_format=dd/mm/yyyy
Solution: | 03/12/1766 | 6 | NIv2 | task1404_date_conversion | fs_opt |
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".
Ex Input:
07/23/1915, input_format=mm/dd/yyyy
Ex Output:
23/07/1915
Ex Input:
01/11/1868, input_format=mm/dd/yyyy
Ex Output:
11/01/1868
Ex Input:
01/29/1618, input_format=mm/dd/yyyy
Ex Output:
| 29/01/1618
| 1 | NIv2 | task1404_date_conversion | fs_opt |
TASK DEFINITION: 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: 02/07/1660, input_format=mm/dd/yyyy
SOLUTION: 07/02/1660
PROBLEM: 05/13/1838, input_format=mm/dd/yyyy
SOLUTION: 13/05/1838
PROBLEM: 12/23/1661, input_format=mm/dd/yyyy
SOLUTION: | 23/12/1661
| 8 | NIv2 | task1404_date_conversion | fs_opt |
Part 1. Definition
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".
Part 2. Example
10/05/1847, input_format=dd/mm/yyyy
Answer: 05/10/1847
Explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Part 3. Exercise
11/18/1922, input_format=mm/dd/yyyy
Answer: | 18/11/1922 | 7 | NIv2 | task1404_date_conversion | fs_opt |
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: 12/02/1645, input_format=dd/mm/yyyy
A: | 02/12/1645 | 9 | NIv2 | task1404_date_conversion | fs_opt |
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: 23/04/1789, input_format=dd/mm/yyyy
A: | 04/23/1789 | 9 | NIv2 | task1404_date_conversion | fs_opt |
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".
Ex Input:
03/26/1836, input_format=mm/dd/yyyy
Ex Output:
26/03/1836
Ex Input:
08/21/2016, input_format=mm/dd/yyyy
Ex Output:
21/08/2016
Ex Input:
08/08/1625, input_format=dd/mm/yyyy
Ex Output:
| 08/08/1625
| 1 | NIv2 | task1404_date_conversion | fs_opt |
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".
Example: 10/05/1847, input_format=dd/mm/yyyy
Example solution: 05/10/1847
Example explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Problem: 11/10/1897, input_format=mm/dd/yyyy
| Solution: 10/11/1897 | 5 | NIv2 | task1404_date_conversion | fs_opt |
Given the task definition, example input & output, solve the new input case.
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".
Example: 10/05/1847, input_format=dd/mm/yyyy
Output: 05/10/1847
The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
New input case for you: 04/13/1824, input_format=mm/dd/yyyy
Output: | 13/04/1824 | 1 | NIv2 | task1404_date_conversion | fs_opt |
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".
Example input: 10/05/1847, input_format=dd/mm/yyyy
Example output: 05/10/1847
Example explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Q: 08/21/2016, input_format=mm/dd/yyyy
A: | 21/08/2016 | 3 | NIv2 | task1404_date_conversion | fs_opt |
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".
--------
Question: 12/23/1665, input_format=mm/dd/yyyy
Answer: 23/12/1665
Question: 12/22/2014, input_format=mm/dd/yyyy
Answer: 22/12/2014
Question: 08/31/2018, input_format=mm/dd/yyyy
Answer: | 31/08/2018
| 7 | NIv2 | task1404_date_conversion | fs_opt |
Teacher: 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".
Teacher: Now, understand the problem? If you are still confused, see the following example:
10/05/1847, input_format=dd/mm/yyyy
Solution: 05/10/1847
Reason: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Now, solve this instance: 01/09/1723, input_format=dd/mm/yyyy
Student: | 09/01/1723 | 2 | NIv2 | task1404_date_conversion | fs_opt |
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".
Example: 10/05/1847, input_format=dd/mm/yyyy
Example solution: 05/10/1847
Example explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Problem: 29/07/1629, input_format=dd/mm/yyyy
| Solution: 07/29/1629 | 5 | NIv2 | task1404_date_conversion | fs_opt |
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".
[Q]: 01/12/1680, input_format=mm/dd/yyyy
[A]: 12/01/1680
[Q]: 04/30/1744, input_format=mm/dd/yyyy
[A]: 30/04/1744
[Q]: 29/07/1629, input_format=dd/mm/yyyy
[A]: | 07/29/1629
| 5 | NIv2 | task1404_date_conversion | fs_opt |
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".
--------
Question: 18/04/2007, input_format=dd/mm/yyyy
Answer: 04/18/2007
Question: 15/09/1674, input_format=dd/mm/yyyy
Answer: 09/15/1674
Question: 27/08/1830, input_format=dd/mm/yyyy
Answer: | 08/27/1830
| 7 | NIv2 | task1404_date_conversion | fs_opt |
instruction:
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".
question:
16/08/1931, input_format=dd/mm/yyyy
answer:
08/16/1931
question:
05/08/1993, input_format=mm/dd/yyyy
answer:
08/05/1993
question:
06/22/1981, input_format=mm/dd/yyyy
answer:
| 22/06/1981
| 9 | NIv2 | task1404_date_conversion | fs_opt |
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".
--------
Question: 01/15/1758, input_format=mm/dd/yyyy
Answer: 15/01/1758
Question: 04/02/1792, input_format=dd/mm/yyyy
Answer: 02/04/1792
Question: 12/16/1626, input_format=mm/dd/yyyy
Answer: | 16/12/1626
| 7 | NIv2 | task1404_date_conversion | fs_opt |
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".
[EX Q]: 12/10/1608, input_format=dd/mm/yyyy
[EX A]: 10/12/1608
[EX Q]: 01/06/1964, input_format=mm/dd/yyyy
[EX A]: 06/01/1964
[EX Q]: 07/03/1699, input_format=mm/dd/yyyy
[EX A]: | 03/07/1699
| 6 | NIv2 | task1404_date_conversion | fs_opt |
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".
Let me give you an example: 10/05/1847, input_format=dd/mm/yyyy
The answer to this example can be: 05/10/1847
Here is why: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
OK. solve this:
05/08/1993, input_format=mm/dd/yyyy
Answer: | 08/05/1993 | 8 | NIv2 | task1404_date_conversion | fs_opt |
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".
--------
Question: 12/27/2014, input_format=mm/dd/yyyy
Answer: 27/12/2014
Question: 06/02/1852, input_format=mm/dd/yyyy
Answer: 02/06/1852
Question: 16/12/1825, input_format=dd/mm/yyyy
Answer: | 12/16/1825
| 7 | NIv2 | task1404_date_conversion | fs_opt |
Given the task definition, example input & output, solve the new input case.
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".
Example: 10/05/1847, input_format=dd/mm/yyyy
Output: 05/10/1847
The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
New input case for you: 11/17/1783, input_format=mm/dd/yyyy
Output: | 17/11/1783 | 1 | NIv2 | task1404_date_conversion | fs_opt |
Teacher: 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".
Teacher: Now, understand the problem? If you are still confused, see the following example:
10/05/1847, input_format=dd/mm/yyyy
Solution: 05/10/1847
Reason: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Now, solve this instance: 05/08/1891, input_format=mm/dd/yyyy
Student: | 08/05/1891 | 2 | NIv2 | task1404_date_conversion | fs_opt |
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".
08/08/1625, input_format=dd/mm/yyyy
08/08/1625
08/04/1750, input_format=dd/mm/yyyy
04/08/1750
15/09/1674, input_format=dd/mm/yyyy
| 09/15/1674
| 0 | NIv2 | task1404_date_conversion | fs_opt |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
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".
10/05/1847, input_format=dd/mm/yyyy
Solution: 05/10/1847
Why? The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
New input: 06/02/1852, input_format=mm/dd/yyyy
Solution: | 02/06/1852 | 0 | NIv2 | task1404_date_conversion | fs_opt |
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".
Let me give you an example: 10/05/1847, input_format=dd/mm/yyyy
The answer to this example can be: 05/10/1847
Here is why: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
OK. solve this:
07/23/1915, input_format=mm/dd/yyyy
Answer: | 23/07/1915 | 8 | NIv2 | task1404_date_conversion | fs_opt |
instruction:
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".
question:
09/06/1907, input_format=mm/dd/yyyy
answer:
06/09/1907
question:
10/12/1877, input_format=dd/mm/yyyy
answer:
12/10/1877
question:
08/04/1628, input_format=dd/mm/yyyy
answer:
| 04/08/1628
| 9 | NIv2 | task1404_date_conversion | fs_opt |
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".
[Q]: 17/10/1615, input_format=dd/mm/yyyy
[A]: 10/17/1615
[Q]: 03/15/1977, input_format=mm/dd/yyyy
[A]: 15/03/1977
[Q]: 10/03/1753, input_format=dd/mm/yyyy
[A]: | 03/10/1753
| 5 | NIv2 | task1404_date_conversion | fs_opt |
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".
Example Input: 07/12/1668, input_format=dd/mm/yyyy
Example Output: 12/07/1668
Example Input: 04/02/1792, input_format=dd/mm/yyyy
Example Output: 02/04/1792
Example Input: 02/23/1608, input_format=mm/dd/yyyy
Example Output: | 23/02/1608
| 3 | NIv2 | task1404_date_conversion | fs_opt |
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".
See one example below:
Problem: 10/05/1847, input_format=dd/mm/yyyy
Solution: 05/10/1847
Explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Problem: 07/03/1699, input_format=mm/dd/yyyy
Solution: | 03/07/1699 | 4 | NIv2 | task1404_date_conversion | fs_opt |
Teacher: 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".
Teacher: Now, understand the problem? If you are still confused, see the following example:
10/05/1847, input_format=dd/mm/yyyy
Solution: 05/10/1847
Reason: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Now, solve this instance: 07/10/1630, input_format=dd/mm/yyyy
Student: | 10/07/1630 | 2 | NIv2 | task1404_date_conversion | fs_opt |
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".
See one example below:
Problem: 10/05/1847, input_format=dd/mm/yyyy
Solution: 05/10/1847
Explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Problem: 01/11/1868, input_format=mm/dd/yyyy
Solution: | 11/01/1868 | 4 | NIv2 | task1404_date_conversion | fs_opt |
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".
Example input: 10/05/1847, input_format=dd/mm/yyyy
Example output: 05/10/1847
Example explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Q: 16/12/1825, input_format=dd/mm/yyyy
A: | 12/16/1825 | 3 | NIv2 | task1404_date_conversion | fs_opt |
instruction:
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".
question:
10/24/1640, input_format=mm/dd/yyyy
answer:
24/10/1640
question:
20/07/1640, input_format=dd/mm/yyyy
answer:
07/20/1640
question:
24/06/1716, input_format=dd/mm/yyyy
answer:
| 06/24/1716
| 9 | NIv2 | task1404_date_conversion | fs_opt |
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".
[EX Q]: 12/06/1715, input_format=mm/dd/yyyy
[EX A]: 06/12/1715
[EX Q]: 03/02/2015, input_format=dd/mm/yyyy
[EX A]: 02/03/2015
[EX Q]: 02/03/1869, input_format=dd/mm/yyyy
[EX A]: | 03/02/1869
| 6 | NIv2 | task1404_date_conversion | fs_opt |
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".
Q: 12/02/1919, input_format=dd/mm/yyyy
A: 02/12/1919
****
Q: 10/24/1640, input_format=mm/dd/yyyy
A: 24/10/1640
****
Q: 04/24/1708, input_format=mm/dd/yyyy
A: | 24/04/1708
****
| 4 | NIv2 | task1404_date_conversion | fs_opt |
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".
Q: 31/03/1948, input_format=dd/mm/yyyy
A: 03/31/1948
****
Q: 21/11/1681, input_format=dd/mm/yyyy
A: 11/21/1681
****
Q: 17/10/1615, input_format=dd/mm/yyyy
A: | 10/17/1615
****
| 4 | NIv2 | task1404_date_conversion | fs_opt |
TASK DEFINITION: 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: 06/10/1720, input_format=dd/mm/yyyy
SOLUTION: 10/06/1720
PROBLEM: 07/08/2003, input_format=dd/mm/yyyy
SOLUTION: 08/07/2003
PROBLEM: 27/02/1884, input_format=dd/mm/yyyy
SOLUTION: | 02/27/1884
| 8 | NIv2 | task1404_date_conversion | fs_opt |
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".
Let me give you an example: 10/05/1847, input_format=dd/mm/yyyy
The answer to this example can be: 05/10/1847
Here is why: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
OK. solve this:
15/08/2018, input_format=dd/mm/yyyy
Answer: | 08/15/2018 | 8 | NIv2 | task1404_date_conversion | fs_opt |
Teacher: 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".
Teacher: Now, understand the problem? If you are still confused, see the following example:
10/05/1847, input_format=dd/mm/yyyy
Solution: 05/10/1847
Reason: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Now, solve this instance: 04/02/1792, input_format=dd/mm/yyyy
Student: | 02/04/1792 | 2 | NIv2 | task1404_date_conversion | fs_opt |
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".
--------
Question: 02/12/1622, input_format=dd/mm/yyyy
Answer: 12/02/1622
Question: 12/05/1867, input_format=mm/dd/yyyy
Answer: 05/12/1867
Question: 15/08/2018, input_format=dd/mm/yyyy
Answer: | 08/15/2018
| 7 | NIv2 | task1404_date_conversion | fs_opt |
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".
Q: 06/02/1852, input_format=mm/dd/yyyy
A: 02/06/1852
****
Q: 08/04/1750, input_format=dd/mm/yyyy
A: 04/08/1750
****
Q: 03/02/2015, input_format=dd/mm/yyyy
A: | 02/03/2015
****
| 4 | NIv2 | task1404_date_conversion | fs_opt |
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: 01/10/1668, input_format=mm/dd/yyyy
A: | 10/01/1668 | 9 | NIv2 | task1404_date_conversion | fs_opt |
Part 1. Definition
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".
Part 2. Example
10/05/1847, input_format=dd/mm/yyyy
Answer: 05/10/1847
Explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Part 3. Exercise
05/04/1855, input_format=mm/dd/yyyy
Answer: | 04/05/1855 | 7 | NIv2 | task1404_date_conversion | fs_opt |
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".
Q: 01/12/1680, input_format=mm/dd/yyyy
A: 12/01/1680
****
Q: 02/13/1985, input_format=mm/dd/yyyy
A: 13/02/1985
****
Q: 10/27/1775, input_format=mm/dd/yyyy
A: | 27/10/1775
****
| 4 | NIv2 | task1404_date_conversion | fs_opt |
Given the task definition, example input & output, solve the new input case.
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".
Example: 10/05/1847, input_format=dd/mm/yyyy
Output: 05/10/1847
The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
New input case for you: 12/01/1823, input_format=dd/mm/yyyy
Output: | 01/12/1823 | 1 | NIv2 | task1404_date_conversion | fs_opt |
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".
12/23/1665, input_format=mm/dd/yyyy
23/12/1665
05/03/2006, input_format=dd/mm/yyyy
03/05/2006
12/01/1823, input_format=dd/mm/yyyy
| 01/12/1823
| 0 | NIv2 | task1404_date_conversion | fs_opt |
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".
Example: 10/05/1847, input_format=dd/mm/yyyy
Example solution: 05/10/1847
Example explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Problem: 12/12/1704, input_format=dd/mm/yyyy
| Solution: 12/12/1704 | 5 | NIv2 | task1404_date_conversion | fs_opt |
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".
--------
Question: 12/02/1919, input_format=dd/mm/yyyy
Answer: 02/12/1919
Question: 01/15/1758, input_format=mm/dd/yyyy
Answer: 15/01/1758
Question: 31/03/1948, input_format=dd/mm/yyyy
Answer: | 03/31/1948
| 7 | NIv2 | task1404_date_conversion | fs_opt |
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".
--------
Question: 02/13/1985, input_format=mm/dd/yyyy
Answer: 13/02/1985
Question: 08/21/2016, input_format=mm/dd/yyyy
Answer: 21/08/2016
Question: 24/11/1602, input_format=dd/mm/yyyy
Answer: | 11/24/1602
| 7 | NIv2 | task1404_date_conversion | fs_opt |
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: 10/27/1665, input_format=mm/dd/yyyy
A: | 27/10/1665 | 9 | NIv2 | task1404_date_conversion | fs_opt |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
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".
10/05/1847, input_format=dd/mm/yyyy
Solution: 05/10/1847
Why? The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
New input: 14/12/1858, input_format=dd/mm/yyyy
Solution: | 12/14/1858 | 0 | NIv2 | task1404_date_conversion | fs_opt |
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".
Example input: 10/05/1847, input_format=dd/mm/yyyy
Example output: 05/10/1847
Example explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Q: 17/01/1986, input_format=dd/mm/yyyy
A: | 01/17/1986 | 3 | NIv2 | task1404_date_conversion | fs_opt |
Teacher: 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".
Teacher: Now, understand the problem? If you are still confused, see the following example:
10/05/1847, input_format=dd/mm/yyyy
Solution: 05/10/1847
Reason: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Now, solve this instance: 29/04/1750, input_format=dd/mm/yyyy
Student: | 04/29/1750 | 2 | NIv2 | task1404_date_conversion | fs_opt |
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: 10/05/1847, input_format=dd/mm/yyyy
Solution is here: 05/10/1847
Explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Now, solve this: 14/11/1793, input_format=dd/mm/yyyy
Solution: | 11/14/1793 | 6 | NIv2 | task1404_date_conversion | fs_opt |
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".
Example Input: 03/15/1977, input_format=mm/dd/yyyy
Example Output: 15/03/1977
Example Input: 12/10/1826, input_format=dd/mm/yyyy
Example Output: 10/12/1826
Example Input: 14/11/1793, input_format=dd/mm/yyyy
Example Output: | 11/14/1793
| 3 | NIv2 | task1404_date_conversion | fs_opt |
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: 10/05/1847, input_format=dd/mm/yyyy
Solution is here: 05/10/1847
Explanation: The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
Now, solve this: 12/01/1732, input_format=dd/mm/yyyy
Solution: | 01/12/1732 | 6 | NIv2 | task1404_date_conversion | fs_opt |
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".
Ex Input:
03/26/1836, input_format=mm/dd/yyyy
Ex Output:
26/03/1836
Ex Input:
08/09/1851, input_format=dd/mm/yyyy
Ex Output:
09/08/1851
Ex Input:
02/11/1610, input_format=dd/mm/yyyy
Ex Output:
| 11/02/1610
| 1 | NIv2 | task1404_date_conversion | fs_opt |
Given the task definition, example input & output, solve the new input case.
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".
Example: 10/05/1847, input_format=dd/mm/yyyy
Output: 05/10/1847
The month(mm) is 05, day(dd) is 10 and year(yyyy) is 1847, so the output should be 05/10/1847.
New input case for you: 15/08/1635, input_format=dd/mm/yyyy
Output: | 08/15/1635 | 1 | NIv2 | task1404_date_conversion | fs_opt |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.