Compare commits

...

2 Commits

Author SHA1 Message Date
Sami 2ef62c7887 anoterCode
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s
Gitea Actions Demo / GoBuild (push) Failing after 15s
2024-09-09 21:40:18 -04:00
Sami 807417cf90 anoterCode 2024-09-09 21:38:01 -04:00
4 changed files with 304 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
public class CiscoQuestion {
public static void main(String[] args) {
// 51 24 36
// 43 55 67
// 95 54 28
int[][] neo = { { 251, 424, 136 }, { 743, 655, 676 }, { 895, 854, 828 } };
int temp = neo[0][0];
int minColumn = 0;
int MaxNum = neo[0][0];
for (int i = 0; i < neo.length; i++) {
System.out.println("");
for (int j = 0; j < neo[i].length; j++) {
System.out.print(neo[i][j]);
System.out.print("\t");
if (neo[i][j] < temp) {
temp = neo[i][j];
minColumn = j;
}
}
}
System.out.println("The smallest Number in the matrix is: " + temp + " at column: " + minColumn);
// let's check the highest number in that column
//
int x = 0;
while (x < 3) {
if (neo[x][minColumn] > MaxNum) {
MaxNum = neo[x][minColumn];
}
x++;
}
System.out.println("The highest number on the minClumn is: " + MaxNum + "!");
}
}
+113
View File
@@ -0,0 +1,113 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AutoImportSettings">
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="945f3f73-673c-4e90-a17d-5f4b6803daa5" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/Attack.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Eagle.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Hide.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../ReverseNestedLoop.java" beforeDir="false" afterPath="$PROJECT_DIR$/../ReverseNestedLoop.java" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="Interface" />
<option value="Class" />
</list>
</option>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
</component>
<component name="ProjectColorInfo">{
&quot;associatedIndex&quot;: 2
}</component>
<component name="ProjectId" id="2llxwsduHb5kcmtX1lIeekmMpvg" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"Application.Eagle.executor": "Run",
"Application.Fish.executor": "Run",
"Application.MainClass.executor": "Run",
"Application.Rabbit.executor": "Run",
"Application.Unnamed.executor": "Run",
"Downloaded.Files.Path.Enabled": "false",
"Repository.Attach.Annotations": "false",
"Repository.Attach.JavaDocs": "false",
"Repository.Attach.Sources": "false",
"RunOnceActivity.ShowReadmeOnStart": "true",
"git-widget-placeholder": "main",
"kotlin-language-version-configured": "true",
"last_opened_file_path": "/home/ilyes/BrushUpJava/Interfaces",
"project.structure.last.edited": "Libraries",
"project.structure.proportion": "0.15",
"project.structure.side.proportion": "0.145977",
"settings.editor.selected.configurable": "preferences.pluginManager"
}
}]]></component>
<component name="RunManager" selected="Application.Rabbit">
<configuration name="Eagle" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="Eagle" />
<module name="Interfaces" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="Fish" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="Fish" />
<module name="Interfaces" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="MainClass" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="MainClass" />
<module name="Interfaces" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="Rabbit" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="Rabbit" />
<module name="Interfaces" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<list>
<item itemvalue="Application.Eagle" />
<item itemvalue="Application.Fish" />
<item itemvalue="Application.MainClass" />
<item itemvalue="Application.Rabbit" />
</list>
<recent_temporary>
<list>
<item itemvalue="Application.Rabbit" />
<item itemvalue="Application.MainClass" />
<item itemvalue="Application.Fish" />
<item itemvalue="Application.Eagle" />
</list>
</recent_temporary>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="945f3f73-673c-4e90-a17d-5f4b6803daa5" name="Changes" comment="" />
<created>1725768705289</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1725768705289</updated>
</task>
<servers />
</component>
</project>
+106
View File
@@ -0,0 +1,106 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AutoImportSettings">
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="945f3f73-673c-4e90-a17d-5f4b6803daa5" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/Attack.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Eagle.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Hide.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../ReverseNestedLoop.java" beforeDir="false" afterPath="$PROJECT_DIR$/../ReverseNestedLoop.java" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="Interface" />
<option value="Class" />
</list>
</option>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
</component>
<component name="ProjectColorInfo">{
&quot;associatedIndex&quot;: 2
}</component>
<component name="ProjectId" id="2llxwsduHb5kcmtX1lIeekmMpvg" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"Application.Eagle.executor": "Run",
"Application.Fish.executor": "Run",
"Application.MainClass.executor": "Run",
"Application.Rabbit.executor": "Run",
"Application.Unnamed.executor": "Run",
"RunOnceActivity.ShowReadmeOnStart": "true",
"git-widget-placeholder": "main",
"kotlin-language-version-configured": "true",
"last_opened_file_path": "/home/ilyes/BrushUpJava/Interfaces",
"settings.editor.selected.configurable": "preferences.pluginManager"
}
}]]></component>
<component name="RunManager" selected="Application.Rabbit">
<configuration name="Eagle" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="Eagle" />
<module name="Interfaces" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="Fish" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="Fish" />
<module name="Interfaces" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="MainClass" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="MainClass" />
<module name="Interfaces" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="Rabbit" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="Rabbit" />
<module name="Interfaces" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<list>
<item itemvalue="Application.Eagle" />
<item itemvalue="Application.Fish" />
<item itemvalue="Application.MainClass" />
<item itemvalue="Application.Rabbit" />
</list>
<recent_temporary>
<list>
<item itemvalue="Application.Rabbit" />
<item itemvalue="Application.MainClass" />
<item itemvalue="Application.Fish" />
<item itemvalue="Application.Eagle" />
</list>
</recent_temporary>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="945f3f73-673c-4e90-a17d-5f4b6803daa5" name="Changes" comment="" />
<created>1725768705289</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1725768705289</updated>
</task>
<servers />
</component>
</project>
+48
View File
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AutoImportSettings">
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="5d6db7cd-dc6b-464f-9386-c8cb5fe15452" name="Changes" comment="" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="ProjectColorInfo"><![CDATA[{
"associatedIndex": 1
}]]></component>
<component name="ProjectId" id="2liSEUM3yr4FrJUqSaK7KuAF6f0" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"RunOnceActivity.ShowReadmeOnStart": "true",
"kotlin-language-version-configured": "true",
"last_opened_file_path": "/home/ilyes/BrushUpJava"
}
}]]></component>
<component name="RunManager">
<configuration name="Unnamed" type="Application" factoryName="Application" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="ArrayList" />
<module name="BrushUpJava" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="5d6db7cd-dc6b-464f-9386-c8cb5fe15452" name="Changes" comment="" />
<created>1725661291395</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1725661291395</updated>
</task>
<servers />
</component>
</project>