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"?>
<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>
\ No newline at end of file
.idea/numer-60-2.iml
View file @
db66499e
...
...
@@ -2,7 +2,7 @@
<module
type=
"PYTHON_MODULE"
version=
"4"
>
<component
name=
"NewModuleRootManager"
>
<content
url=
"file://$MODULE_DIR$"
/>
<orderEntry
type=
"
inheritedJdk
"
/>
<orderEntry
type=
"
jdk"
jdkName=
"Python 3.6"
jdkType=
"Python SDK
"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
<component
name=
"TestRunnerService"
>
...
...
.idea/workspace.xml
View file @
db66499e
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<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"
/>
<list
default=
"true"
id=
"6132cec6-c618-4f74-892c-71bdca967f8b"
name=
"Default"
comment=
"ส่งงานครับ"
>
<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>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"TRACKING_ENABLED"
value=
"true"
/>
...
...
@@ -18,9 +21,7 @@
<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>
<marker
date=
"1518661152297"
expanded=
"true"
signature=
"21:43"
ph=
"..."
/>
</folding>
<folding
/>
</state>
</provider>
</entry>
...
...
@@ -29,17 +30,37 @@
<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=
"
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
/>
</state>
</provider>
</entry>
</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"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"360"
>
<caret
line=
"20"
column=
"0"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"0"
selection-end-line=
"20"
selection-end-column=
"0"
/>
<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>
</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
/>
</state>
</provider>
...
...
@@ -50,19 +71,26 @@
<component
name=
"Git.Settings"
>
<option
name=
"PREVIOUS_COMMIT_AUTHORS"
>
<list>
<option
value=
"Asumet120840 <sumet.sa.59@ubu.ac.th>"
/>
<option
value=
"sumet <sumet.sa.59@ubu.ac.th>"
/>
</list>
</option>
<option
name=
"RECENT_GIT_ROOT_PATH"
value=
"$PROJECT_DIR$"
/>
<option
name=
"PUSH_TAGS"
>
<GitPushTagMode
/>
</component>
<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>
</component>
<component
name=
"ProjectFrameBounds"
extendedState=
"6"
>
<option
name=
"x"
value=
"
271
"
/>
<option
name=
"y"
value=
"-
3
"
/>
<option
name=
"width"
value=
"
1313
"
/>
<option
name=
"height"
value=
"77
1
"
/>
<option
name=
"x"
value=
"
65
"
/>
<option
name=
"y"
value=
"-
4
"
/>
<option
name=
"width"
value=
"
651
"
/>
<option
name=
"height"
value=
"77
2
"
/>
</component>
<component
name=
"ProjectView"
>
<navigator
currentView=
"ProjectPane"
proportions=
""
version=
"1"
>
...
...
@@ -80,6 +108,7 @@
</navigator>
<panes>
<pane
id=
"Scratches"
/>
<pane
id=
"Scope"
/>
<pane
id=
"ProjectPane"
>
<subPane>
<expand>
...
...
@@ -90,23 +119,22 @@
<path>
<item
name=
"numer-60-2"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"numer-60-2"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"week0
3
"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"week0
4
"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"numer-60-2"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"numer-60-2"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"week0
4
"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"week0
5
"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"numer-60-2"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"numer-60-2"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"week0
5
"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"week0
6
"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</expand>
<select
/>
</subPane>
</pane>
<pane
id=
"Scope"
/>
</panes>
</component>
<component
name=
"PropertiesComponent"
>
...
...
@@ -114,6 +142,9 @@
<property
name=
"settings.editor.selected.configurable"
value=
"com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable"
/>
</component>
<component
name=
"RecentsManager"
>
<key
name=
"MoveFile.RECENT_KEYS"
>
<recent
name=
"$PROJECT_DIR$/week06"
/>
</key>
<key
name=
"CopyFile.RECENT_KEYS"
>
<recent
name=
"$PROJECT_DIR$"
/>
</key>
...
...
@@ -130,7 +161,7 @@
</list>
</option>
</component>
<component
name=
"RunManager"
>
<component
name=
"RunManager"
selected=
"Python.hw06"
>
<configuration
name=
"ge"
type=
"PythonConfigurationType"
factoryName=
"Python"
temporary=
"true"
>
<option
name=
"INTERPRETER_OPTIONS"
value=
""
/>
<option
name=
"PARENT_ENVS"
value=
"true"
/>
...
...
@@ -149,9 +180,32 @@
<option
name=
"EMULATE_TERMINAL"
value=
"false"
/>
<option
name=
"MODULE_MODE"
value=
"false"
/>
</configuration>
<recent_temporary>
<list
size=
"1"
>
<configuration
name=
"hw06"
type=
"PythonConfigurationType"
factoryName=
"Python"
temporary=
"true"
>
<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=
"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>
</recent_temporary>
</component>
...
...
@@ -176,23 +230,37 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1518530947189
</updated>
</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
/>
</component>
<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"
/>
<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=
"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=
"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=
"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=
"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=
"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"
/>
...
...
@@ -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"
/>
</layout>
</component>
<component
name=
"UnknownFeatures"
>
<option
featureType=
"com.intellij.fileTypeFactory"
implementationName=
"*.md"
/>
</component>
<component
name=
"VcsContentAnnotationSettings"
>
<option
name=
"myLimit"
value=
"2678400000"
/>
</component>
<component
name=
"VcsManagerConfiguration"
>
<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
name=
"XDebuggerManager"
>
<breakpoint-manager
/>
...
...
@@ -219,16 +292,14 @@
<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>
<marker
date=
"1518661152297"
expanded=
"true"
signature=
"21:43"
ph=
"..."
/>
</folding>
<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
"
/>
<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>
...
...
@@ -237,9 +308,7 @@
<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>
<marker
date=
"1518661152297"
expanded=
"true"
signature=
"21:43"
ph=
"..."
/>
</folding>
<folding
/>
</state>
</provider>
</entry>
...
...
@@ -259,5 +328,69 @@
</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=
"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>
</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