Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PPC2025_CT11
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kazuyuki Omi
PPC2025_CT11
Commits
d4288d45
Commit
d4288d45
authored
3 days ago
by
Kazuyuki Omi
Browse files
Options
Downloads
Patches
Plain Diff
minor changes in config
parent
df248826
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hw/hw01/main
+0
-0
0 additions, 0 deletions
hw/hw01/main
hw/hw01/main.cpp
+6
-4
6 additions, 4 deletions
hw/hw01/main.cpp
with
6 additions
and
4 deletions
hw/hw01/main
+
0
−
0
View file @
d4288d45
No preview for this file type
This diff is collapsed.
Click to expand it.
hw/hw01/main.cpp
+
6
−
4
View file @
d4288d45
...
...
@@ -5,14 +5,17 @@
#include
<cstring>
#include
<cstdio>
#include
<iomanip>
#include
<limits>
typedef
struct
setting
{
int
min
=
-
9999999
;
int
max
=
98888999
;
//int min = -9999999;
int
min
=
std
::
numeric_limits
<
int
>::
min
();
//int max = 98888999;
int
max
=
std
::
numeric_limits
<
int
>::
max
();
int
width
=
3
;
std
::
string
align
=
"left"
;
int
stretch
=
-
1
;
int
stretch
=
-
1
;
//default
int
header
=
1
;
std
::
vector
<
std
::
vector
<
int
>>
numbers
;
int
max_size_vector
=
0
;
...
...
@@ -39,7 +42,6 @@ void get_error_102(setting &a)
void
get_config
(
setting
&
a
)
{
std
::
string
line
;
std
::
cout
<<
"start configration"
<<
std
::
endl
;
while
(
std
::
getline
(
std
::
cin
,
line
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment