Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
numer-60-2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sumet
numer-60-2
Commits
db66499e
Commit
db66499e
authored
Feb 22, 2018
by
sumet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ส่งงานครับ hw06
parent
d4a2c1b6
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
197 additions
and
37 deletions
+197
-37
misc.xml
.idea/misc.xml
+2
-1
numer-60-2.iml
.idea/numer-60-2.iml
+1
-1
workspace.xml
.idea/workspace.xml
+169
-35
README.md
README.md
+0
-0
hw06.py
week06/hw06.py
+25
-0
No files found.
.idea/misc.xml
View file @
db66499e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ProjectRootManager"
version=
"2"
project-jdk-name=
"Python 3.6
.1 (~/anaconda3/bin/python3.6)
"
project-jdk-type=
"Python SDK"
/>
<component
name=
"ProjectRootManager"
version=
"2"
project-jdk-name=
"Python 3.6"
project-jdk-type=
"Python SDK"
/>
</project>
</project>
\ No newline at end of file
.idea/numer-60-2.iml
View file @
db66499e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<module
type=
"PYTHON_MODULE"
version=
"4"
>
<module
type=
"PYTHON_MODULE"
version=
"4"
>
<component
name=
"NewModuleRootManager"
>
<component
name=
"NewModuleRootManager"
>
<content
url=
"file://$MODULE_DIR$"
/>
<content
url=
"file://$MODULE_DIR$"
/>
<orderEntry
type=
"
inheritedJdk
"
/>
<orderEntry
type=
"
jdk"
jdkName=
"Python 3.6"
jdkType=
"Python SDK
"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
</component>
<component
name=
"TestRunnerService"
>
<component
name=
"TestRunnerService"
>
...
...
.idea/workspace.xml
View file @
db66499e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"6132cec6-c618-4f74-892c-71bdca967f8b"
name=
"Default"
comment=
""
>
<list
default=
"true"
id=
"6132cec6-c618-4f74-892c-71bdca967f8b"
name=
"Default"
comment=
"ส่งงานครับ"
>
<change
beforePath=
"$PROJECT_DIR$/week05/ge.py"
afterPath=
"$PROJECT_DIR$/week05/ge.py"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/misc.xml"
afterPath=
"$PROJECT_DIR$/.idea/misc.xml"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/numer-60-2.iml"
afterPath=
"$PROJECT_DIR$/.idea/numer-60-2.iml"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
beforePath=
"$PROJECT_DIR$/README.md"
afterPath=
"$PROJECT_DIR$/week06/hw06.py"
/>
</list>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"TRACKING_ENABLED"
value=
"true"
/>
<option
name=
"TRACKING_ENABLED"
value=
"true"
/>
...
@@ -18,9 +21,7 @@
...
@@ -18,9 +21,7 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<folding
/>
<marker
date=
"1518661152297"
expanded=
"true"
signature=
"21:43"
ph=
"..."
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -29,17 +30,37 @@
...
@@ -29,17 +30,37 @@
<entry
file=
"file://$PROJECT_DIR$/week04/assignment.py"
>
<entry
file=
"file://$PROJECT_DIR$/week04/assignment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"126"
>
<state
relative-caret-position=
"126"
>
<caret
line=
"7"
column=
"47"
lean-forward=
"
tru
e"
selection-start-line=
"7"
selection-start-column=
"47"
selection-end-line=
"7"
selection-end-column=
"47"
/>
<caret
line=
"7"
column=
"47"
lean-forward=
"
fals
e"
selection-start-line=
"7"
selection-start-column=
"47"
selection-end-line=
"7"
selection-end-column=
"47"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"ge.py"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"ge.py"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/week05/ge.py"
>
<entry
file=
"file://$PROJECT_DIR$/week05/ge.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"360"
>
<state
relative-caret-position=
"342"
>
<caret
line=
"20"
column=
"0"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"0"
selection-end-line=
"20"
selection-end-column=
"0"
/>
<caret
line=
"19"
column=
"10"
lean-forward=
"true"
selection-start-line=
"10"
selection-start-column=
"0"
selection-end-line=
"19"
selection-end-column=
"10"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"README.md"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/week06/README.md"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"36"
>
<caret
line=
"2"
column=
"0"
lean-forward=
"false"
selection-start-line=
"2"
selection-start-column=
"0"
selection-end-line=
"2"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"hw06.py"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/week06/hw06.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"144"
>
<caret
line=
"11"
column=
"4"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"4"
selection-end-line=
"11"
selection-end-column=
"4"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
...
@@ -50,19 +71,26 @@
...
@@ -50,19 +71,26 @@
<component
name=
"Git.Settings"
>
<component
name=
"Git.Settings"
>
<option
name=
"PREVIOUS_COMMIT_AUTHORS"
>
<option
name=
"PREVIOUS_COMMIT_AUTHORS"
>
<list>
<list>
<option
value=
"Asumet120840 <sumet.sa.59@ubu.ac.th>"
/>
<option
value=
"sumet <sumet.sa.59@ubu.ac.th>"
/>
<option
value=
"sumet <sumet.sa.59@ubu.ac.th>"
/>
</list>
</list>
</option>
</option>
<option
name=
"RECENT_GIT_ROOT_PATH"
value=
"$PROJECT_DIR$"
/>
<option
name=
"RECENT_GIT_ROOT_PATH"
value=
"$PROJECT_DIR$"
/>
<option
name=
"PUSH_TAGS"
>
</component>
<GitPushTagMode
/>
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<option
value=
"$PROJECT_DIR$/README.md"
/>
<option
value=
"$PROJECT_DIR$/week06/README.md"
/>
<option
value=
"$PROJECT_DIR$/week06/hw06.py"
/>
</list>
</option>
</option>
</component>
</component>
<component
name=
"ProjectFrameBounds"
extendedState=
"6"
>
<component
name=
"ProjectFrameBounds"
extendedState=
"6"
>
<option
name=
"x"
value=
"
271
"
/>
<option
name=
"x"
value=
"
65
"
/>
<option
name=
"y"
value=
"-
3
"
/>
<option
name=
"y"
value=
"-
4
"
/>
<option
name=
"width"
value=
"
1313
"
/>
<option
name=
"width"
value=
"
651
"
/>
<option
name=
"height"
value=
"77
1
"
/>
<option
name=
"height"
value=
"77
2
"
/>
</component>
</component>
<component
name=
"ProjectView"
>
<component
name=
"ProjectView"
>
<navigator
currentView=
"ProjectPane"
proportions=
""
version=
"1"
>
<navigator
currentView=
"ProjectPane"
proportions=
""
version=
"1"
>
...
@@ -80,6 +108,7 @@
...
@@ -80,6 +108,7 @@
</navigator>
</navigator>
<panes>
<panes>
<pane
id=
"Scratches"
/>
<pane
id=
"Scratches"
/>
<pane
id=
"Scope"
/>
<pane
id=
"ProjectPane"
>
<pane
id=
"ProjectPane"
>
<subPane>
<subPane>
<expand>
<expand>
...
@@ -90,23 +119,22 @@
...
@@ -90,23 +119,22 @@
<path>
<path>
<item
name=
"numer-60-2"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"numer-60-2"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"numer-60-2"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"numer-60-2"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"week0
3
"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"week0
4
"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</path>
<path>
<path>
<item
name=
"numer-60-2"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"numer-60-2"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"numer-60-2"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"numer-60-2"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"week0
4
"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"week0
5
"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</path>
<path>
<path>
<item
name=
"numer-60-2"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"numer-60-2"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"numer-60-2"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"numer-60-2"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"week0
5
"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"week0
6
"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</path>
</expand>
</expand>
<select
/>
<select
/>
</subPane>
</subPane>
</pane>
</pane>
<pane
id=
"Scope"
/>
</panes>
</panes>
</component>
</component>
<component
name=
"PropertiesComponent"
>
<component
name=
"PropertiesComponent"
>
...
@@ -114,6 +142,9 @@
...
@@ -114,6 +142,9 @@
<property
name=
"settings.editor.selected.configurable"
value=
"com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable"
/>
<property
name=
"settings.editor.selected.configurable"
value=
"com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable"
/>
</component>
</component>
<component
name=
"RecentsManager"
>
<component
name=
"RecentsManager"
>
<key
name=
"MoveFile.RECENT_KEYS"
>
<recent
name=
"$PROJECT_DIR$/week06"
/>
</key>
<key
name=
"CopyFile.RECENT_KEYS"
>
<key
name=
"CopyFile.RECENT_KEYS"
>
<recent
name=
"$PROJECT_DIR$"
/>
<recent
name=
"$PROJECT_DIR$"
/>
</key>
</key>
...
@@ -130,7 +161,7 @@
...
@@ -130,7 +161,7 @@
</list>
</list>
</option>
</option>
</component>
</component>
<component
name=
"RunManager"
>
<component
name=
"RunManager"
selected=
"Python.hw06"
>
<configuration
name=
"ge"
type=
"PythonConfigurationType"
factoryName=
"Python"
temporary=
"true"
>
<configuration
name=
"ge"
type=
"PythonConfigurationType"
factoryName=
"Python"
temporary=
"true"
>
<option
name=
"INTERPRETER_OPTIONS"
value=
""
/>
<option
name=
"INTERPRETER_OPTIONS"
value=
""
/>
<option
name=
"PARENT_ENVS"
value=
"true"
/>
<option
name=
"PARENT_ENVS"
value=
"true"
/>
...
@@ -149,9 +180,32 @@
...
@@ -149,9 +180,32 @@
<option
name=
"EMULATE_TERMINAL"
value=
"false"
/>
<option
name=
"EMULATE_TERMINAL"
value=
"false"
/>
<option
name=
"MODULE_MODE"
value=
"false"
/>
<option
name=
"MODULE_MODE"
value=
"false"
/>
</configuration>
</configuration>
<recent_temporary>
<configuration
name=
"hw06"
type=
"PythonConfigurationType"
factoryName=
"Python"
temporary=
"true"
>
<list
size=
"1"
>
<option
name=
"INTERPRETER_OPTIONS"
value=
""
/>
<option
name=
"PARENT_ENVS"
value=
"true"
/>
<envs>
<env
name=
"PYTHONUNBUFFERED"
value=
"1"
/>
</envs>
<option
name=
"SDK_HOME"
value=
""
/>
<option
name=
"WORKING_DIRECTORY"
value=
"$PROJECT_DIR$/week06"
/>
<option
name=
"IS_MODULE_SDK"
value=
"true"
/>
<option
name=
"ADD_CONTENT_ROOTS"
value=
"true"
/>
<option
name=
"ADD_SOURCE_ROOTS"
value=
"true"
/>
<module
name=
"numer-60-2"
/>
<option
name=
"SCRIPT_NAME"
value=
"$PROJECT_DIR$/week06/hw06.py"
/>
<option
name=
"PARAMETERS"
value=
""
/>
<option
name=
"SHOW_COMMAND_LINE"
value=
"false"
/>
<option
name=
"EMULATE_TERMINAL"
value=
"false"
/>
<option
name=
"MODULE_MODE"
value=
"false"
/>
</configuration>
<list
size=
"2"
>
<item
index=
"0"
class=
"java.lang.String"
itemvalue=
"Python.ge"
/>
<item
index=
"0"
class=
"java.lang.String"
itemvalue=
"Python.ge"
/>
<item
index=
"1"
class=
"java.lang.String"
itemvalue=
"Python.hw06"
/>
</list>
<recent_temporary>
<list
size=
"2"
>
<item
index=
"0"
class=
"java.lang.String"
itemvalue=
"Python.hw06"
/>
<item
index=
"1"
class=
"java.lang.String"
itemvalue=
"Python.ge"
/>
</list>
</list>
</recent_temporary>
</recent_temporary>
</component>
</component>
...
@@ -176,23 +230,37 @@
...
@@ -176,23 +230,37 @@
<option
name=
"project"
value=
"LOCAL"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1518530947189
</updated>
<updated>
1518530947189
</updated>
</task>
</task>
<option
name=
"localTasksCounter"
value=
"2"
/>
<task
id=
"LOCAL-00002"
summary=
"Update readme ครับ"
>
<created>
1519267344276
</created>
<option
name=
"number"
value=
"00002"
/>
<option
name=
"presentableId"
value=
"LOCAL-00002"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1519267344276
</updated>
</task>
<task
id=
"LOCAL-00003"
summary=
"update readme"
>
<created>
1519267444781
</created>
<option
name=
"number"
value=
"00003"
/>
<option
name=
"presentableId"
value=
"LOCAL-00003"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1519267444781
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"4"
/>
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"
271"
y=
"-3"
width=
"1303"
height=
"780
"
extended-state=
"6"
/>
<frame
x=
"
65"
y=
"-4"
width=
"1301"
height=
"772
"
extended-state=
"6"
/>
<editor
active=
"true"
/>
<editor
active=
"true"
/>
<layout>
<layout>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.
24980783
"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.
057647962
"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"TODO"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"6"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"TODO"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"6"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Event Log"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Event Log"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.3138138"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Python Console"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Python Console"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Structure"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Structure"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Favorites"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Debug"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Debug"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Favorites"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Cvs"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"4"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Cvs"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"4"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Message"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Message"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Commander"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Commander"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
...
@@ -203,12 +271,17 @@
...
@@ -203,12 +271,17 @@
<window_info
id=
"Data View"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Data View"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
</layout>
</layout>
</component>
</component>
<component
name=
"UnknownFeatures"
>
<option
featureType=
"com.intellij.fileTypeFactory"
implementationName=
"*.md"
/>
</component>
<component
name=
"VcsContentAnnotationSettings"
>
<component
name=
"VcsContentAnnotationSettings"
>
<option
name=
"myLimit"
value=
"2678400000"
/>
<option
name=
"myLimit"
value=
"2678400000"
/>
</component>
</component>
<component
name=
"VcsManagerConfiguration"
>
<component
name=
"VcsManagerConfiguration"
>
<MESSAGE
value=
"ส่งงานครับ"
/>
<MESSAGE
value=
"ส่งงานครับ"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"ส่งงานครับ"
/>
<MESSAGE
value=
"Update readme ครับ"
/>
<MESSAGE
value=
"update readme"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"update readme"
/>
</component>
</component>
<component
name=
"XDebuggerManager"
>
<component
name=
"XDebuggerManager"
>
<breakpoint-manager
/>
<breakpoint-manager
/>
...
@@ -219,16 +292,14 @@
...
@@ -219,16 +292,14 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<folding
/>
<marker
date=
"1518661152297"
expanded=
"true"
signature=
"21:43"
ph=
"..."
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/week04/assignment.py"
>
<entry
file=
"file://$PROJECT_DIR$/week04/assignment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"126"
>
<state
relative-caret-position=
"126"
>
<caret
line=
"7"
column=
"
0"
lean-forward=
"true"
selection-start-line=
"7"
selection-start-column=
"0"
selection-end-line=
"7"
selection-end-column=
"0
"
/>
<caret
line=
"7"
column=
"
47"
lean-forward=
"false"
selection-start-line=
"7"
selection-start-column=
"47"
selection-end-line=
"7"
selection-end-column=
"47
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
...
@@ -237,9 +308,7 @@
...
@@ -237,9 +308,7 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<folding
/>
<marker
date=
"1518661152297"
expanded=
"true"
signature=
"21:43"
ph=
"..."
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -259,5 +328,69 @@
...
@@ -259,5 +328,69 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/week03/assignment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/week04/assignment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"126"
>
<caret
line=
"7"
column=
"0"
lean-forward=
"true"
selection-start-line=
"7"
selection-start-column=
"0"
selection-end-line=
"7"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/week03/assignment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/week04/assignment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"126"
>
<caret
line=
"7"
column=
"47"
lean-forward=
"false"
selection-start-line=
"7"
selection-start-column=
"47"
selection-end-line=
"7"
selection-end-column=
"47"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/week06/hw06"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/week06/README.md"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"36"
>
<caret
line=
"2"
column=
"0"
lean-forward=
"false"
selection-start-line=
"2"
selection-start-column=
"0"
selection-end-line=
"2"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/week05/ge.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"342"
>
<caret
line=
"19"
column=
"10"
lean-forward=
"true"
selection-start-line=
"10"
selection-start-column=
"0"
selection-end-line=
"19"
selection-end-column=
"10"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/week06/hw06.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"144"
>
<caret
line=
"11"
column=
"4"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"4"
selection-end-line=
"11"
selection-end-column=
"4"
/>
<folding
/>
</state>
</provider>
</entry>
</component>
</component>
</project>
</project>
\ No newline at end of file
README.md
deleted
100644 → 0
View file @
d4a2c1b6
week06/hw06.py
0 → 100644
View file @
db66499e
def
Ab2Uc
(
A
,
b
):
import
numpy
as
np
A
=
np
.
array
(
A
,
float
)
b
=
np
.
array
(
b
,
float
)
n
=
len
(
b
)
for
k
in
range
(
0
,
n
-
1
):
for
i
in
range
(
k
+
1
,
n
):
lam
=
A
[
i
,
k
]
/
A
[
k
,
k
]
A
[
i
,
k
+
1
:
n
]
=
A
[
i
,
k
+
1
:
n
]
-
lam
*
A
[
k
,
k
+
1
:
n
]
b
[
i
]
-=
lam
*
b
[
k
]
U
=
A
.
copy
()
c
=
b
.
copy
()
print
(
U
)
print
(
c
)
m
,
n
,
_
=
map
(
int
,
input
()
.
split
(
'x'
))
print
(
m
,
n
)
A
=
[]
for
i
in
range
(
m
):
A
.
append
(
list
(
map
(
int
,
input
()
.
split
(
','
))))
print
(
n
,
_
)
b
=
list
(
map
(
int
,
input
()
.
split
(
','
)))
Ab2Uc
(
A
,
b
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment