7 条题解

  • 0
    @ 2023-11-30 18:42:51
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
    	char ch;
    	int cnt=0;
    	while((ch=getchar())!='.')cnt+=(ch>='A'&&ch<='Z');
    	cout<<cnt;
    	return 0;
    }
    
    • 0
      @ 2023-4-8 11:34:30
      #include<bits/stdc++.h> 
      using namespace std;
      char x[1001];
      int a=0;
      int main()
      {
      	gets(x);
      	for(int i=1;i<=strlen(x);i++)
      	{
      		if(x[i]>='A' && x[i]<='Z')
      		{
      			a++;
      		}
      	}
      	cout<<a++;
      	return 0;
      }
      
      • 0
        @ 2023-4-8 11:26:13

        #include<bits/stdc++.h> using namespace std; char a[1145]; int main(){ cin.getline(a,sizeof(a),'.'); int l=strlen(a),sum=0; for(int i=0;i<l;i++){//对照大写字母的ascll码 for(int j=65;j<=90;j++){ if(a[i]==j) sum+=1;//如果是对的,sum+1 } } cout<<sum; return 0; }

        • 0
          @ 2023-4-8 11:25:14
          #include<bits/stdc++.h>
          using namespace std;
          char a[1145];
          int main(){
          	cin.getline(a,sizeof(a),'.');
          	int l=strlen(a),sum=0;
          	for(int i=0;i<l;i++){//对照大写字母的ascll码 
          		for(int j=65;j<=90;j++){
          			if(a[i]==j) sum+=1;//如果是对的,sum+1 
          		}
          	}
          	cout<<sum;
          	return 0;
          } 
          
          • 0
            @ 2023-4-8 11:23:33

            #include<bits/stdc++.h> using namespace std; char a[201]; int main() { int s=0; gets(a); int l=strlen(a); for(int i=0;i<=l;i++) {

            	if(int (a[i])>=65&&int (a[i])<=90) s++;
            }
            cout<<s;
            return 0;
            

            }

            • -4
              @ 2023-2-25 9:04:35
              
              
              题目详情 - 【入门】统计大写英文字母的个数 - Hydro body { --font-family: "Microsoft Yahei", "Open Sans", "Seravek", "Segoe UI", "Verdana", "PingFang SC", "Hiragino Sans GB", "Lantinghei SC", "Microsoft Yahei", "WenQuanYi Micro Hei", "sans"; --code-font-family: "Ubuntu Mono", "monaco", "Source Code Pro", "Consolas", "Lucida Console", "monospace"; --font-ligatures: none !important; } #panel { display: flex; flex-direction: column; }
              [removed]

              #A. 【入门】统计大写英文字母的个数

                传统题 1000ms 16MiB

              【入门】统计大写英文字母的个数

              说明

              算算以‘.’结束的一串字符中含有多少个大写的英文字母。

              输入格式

              输入一串字符,以.结束

              输出格式

              输出一行,即这串字符中大写字母的个数。

              样例

              PRC,PRC,I’m from China.
              8
              
              
              • -5
                @ 2023-2-25 9:03:51
                <!DOCTYPE html>
                <html data-page="homework_detail_problem" data-layout="basic" class="layout--basic page--homework_detail_problem theme--dark nojs" lang="zh" data-app="Hydro">
                <head>
                  <meta charset="UTF-8">
                  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
                  <meta http-equiv="X-UA-Compatible" content="chrome=1"/>
                  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
                
                  <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">
                  <link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
                  <link rel="icon" type="image/png" href="/android-chrome-192x192.png" sizes="192x192">
                  <link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
                  <link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
                  <link rel="canonical" href="/p/48?tid=63f048c2fe582d833fbeba96">  <meta name="theme-color" content="#56758f">
                    <meta property="og:site_name" content="Hydro" />
                  <meta property="og:title" content="题目详情 - 【入门】统计大写英文字母的个数 - Hydro" />
                  <meta property="og:url" content="/p/48" />
                  <meta property="og:image" content="/favicon-96x96.png" />
                    <title>题目详情 - 【入门】统计大写英文字母的个数 - Hydro</title>
                  <style>
                    body {
                      --font-family: "Microsoft Yahei", "Open Sans", "Seravek", "Segoe UI", "Verdana", "PingFang SC", "Hiragino Sans GB", "Lantinghei SC", "Microsoft Yahei", "WenQuanYi Micro Hei", "sans";
                      --code-font-family: "Ubuntu Mono", "monaco", "Source Code Pro", "Consolas", "Lucida Console", "monospace";
                      --font-ligatures: none !important;
                    }
                          #panel { display: flex; flex-direction: column; }
                      </style>
                      <link rel="stylesheet" media="all" href="/theme-4.47.2.css">
                        <script>
                      var _htmlNode = document.documentElement;
                      _htmlNode.className = _htmlNode.className.replace(' nojs', ' hasjs');
                      try {
                        import('data:text/javascript,');Object.fromEntries([]);window.matchMedia('all').addEventListener('change',()=>{});
                      } catch(e) {
                        const s = document.createElement('script');
                        s.async = false;
                        s.src = "/polyfill-4.47.2.js";
                        document.head.appendChild(s);
                      }
                    </script>
                  </head>
                <body>
                  <nav class="nav slideout-menu" id="menu">
                  <div class="row"><div class="columns clearfix">
                    <ol class="nav__list nav__list--main clearfix">
                      <li class="nav__list-item">
                        <a href="/"><img class="nav__logo" src="/components/navigation/nav-logo-small_dark.png"></a>
                      </li>        <li class="nav__list-item">
                  <a href="/" class="nav__item">
                    首页
                  </a>
                </li>
                              <li class="nav__list-item">
                  <a href="/p" class="nav__item">
                    题库
                  </a>
                </li>
                              <li class="nav__list-item">
                  <a href="/training" class="nav__item">
                    训练
                  </a>
                </li>
                              <li class="nav__list-item">
                  <a href="/contest" class="nav__item">
                    比赛
                  </a>
                </li>
                              <li class="nav__list-item">
                  <a href="/homework" class="nav__item nav--active">
                    作业
                  </a>
                </li>
                              <li class="nav__list-item">
                  <a href="/record?uidOrName=172" class="nav__item">
                    评测记录
                  </a>
                </li>
                              <li class="nav__list-item">
                  <a href="/ranking" class="nav__item">
                    排名
                  </a>
                </li>
                      </ol>
                    <ol class="nav__list nav__list--secondary clearfix">
                          <li class="nav__list-item" data-dropdown-pos="bottom right" data-dropdown-custom-class="nav__dropdown" data-dropdown-target="#menu-nav-user" data-dropdown-disabledconstrainToWindow data-dropdown-trigger-desktop-only>
                        <a href="/user/172" class="nav__item">tyz <span class="icon icon-expand_more nojs--hide"></span></a>
                        <ol class="dropdown-target menu" id="menu-nav-user">
                          <li class="menu__item">
                            <a href="/user/172" class="menu__link">
                              <span class="icon icon-account--circle"></span> 我的资料
                            </a>
                          </li>
                          <li class="menu__item">
                            <a href="/home/messages" class="menu__link">
                              <span class="icon icon-comment--multiple"></span> 站内消息
                            </a>
                          </li>
                          <li class="menu__seperator"></li>
                          <li class="menu__item">
                            <a href="/home/settings/domain" class="menu__link">
                              <span class="icon icon-web"></span> @ Hydro
                            </a>
                          </li>
                          <li class="menu__seperator"></li>
                          <li class="menu__item">
                            <a href="/home/settings/account" class="menu__link">
                              <span class="icon icon-wrench"></span> 账户设置
                            </a>
                          </li>
                          <li class="menu__item">
                            <a href="/home/settings/preference" class="menu__link">
                              <span class="icon icon-sliders"></span> 偏好设置
                            </a>
                          </li>
                          <li class="menu__item">
                            <a href="/home/security" class="menu__link">
                              <span class="icon icon-security"></span> 安全设置
                            </a>
                          </li>
                          <li class="menu__seperator"></li>
                          <li class="menu__item">
                            <a href="/home/domain" class="menu__link">
                              <span class="icon icon-web"></span> 我的域
                            </a>
                          </li>
                                      <li class="menu__item">
                              <a href="/file" class="menu__link">
                                <span class="icon icon-file"></span> 我的文件
                              </a>
                            </li>
                                                <li class="menu__item">
                              <a href="/blog/172" class="menu__link">
                                <span class="icon icon-book"></span> 博客
                              </a>
                            </li>
                                              <li class="menu__seperator"></li>
                                    <li class="menu__item">
                            <a href="/logout" class="menu__link" name="nav_logout">
                              <span class="icon icon-logout"></span> 登出
                            </a>
                          </li>
                        </ol>
                      </li>
                        </ol>
                  </div></div>
                </nav>
                <nav class="nav--shadow"></nav>
                <div class="slideout-panel" id="panel">
                  <div class="slideout-overlay"></div>
                  <div class="header--mobile">
                  <div class="row"><div class="columns clearfix">
                    <div class="float-left">
                      <a class="header--mobile__domain" href="/" target="_self">
                        <img src="/components/navigation/nav-logo-small_dark.png">
                      </a>
                    </div>
                    <div class="float-right">
                      <button type="button" class="header__hamburger">
                  <div class="hamburger hamburger--spin">
                    <span class="hamburger-box">
                      <span class="hamburger-inner"></span>
                    </span>
                  </div>
                </button>
                    </div>
                  </div></div>
                </div>
                  <div class="main">
                        <script>
                
                  
                  
                  
                  
                  
                  
                </script>
                <div class="row">
                  <div class="medium-9 columns">
                    <div class="section">
                      <div class="section__header">
                        <h1 class="section__title">
                                              #A. 【入门】统计大写英文字母的个数
                        </h1>
                                  <div class="section__tools contest-problems">
                                                                      <a href="/p/48?tid=63f048c2fe582d833fbeba96"
                                 class="pass                         active">
                                <span class="id">A</span>
                                <span class="icon icon-check"></span>              </a>                                          <a href="/p/51?tid=63f048c2fe582d833fbeba96"
                                 class="pass                        ">
                                <span class="id">B</span>
                                <span class="icon icon-check"></span>              </a>                                          <a href="/p/98?tid=63f048c2fe582d833fbeba96"
                                 class="pass                        ">
                                <span class="id">C</span>
                                <span class="icon icon-check"></span>              </a>                                          <a href="/p/99?tid=63f048c2fe582d833fbeba96"
                                 class="pass                        ">
                                <span class="id">D</span>
                                <span class="icon icon-check"></span>              </a>          </div>
                              </div>
                      <div class="section__body">
                        <ul class="problem__tags">
                                    <span class="bp4-tag bp4-large bp4-minimal problem__tag-item icon icon-book">传统题</span>
                                      <span class="bp4-tag bp4-large bp4-minimal problem__tag-item icon icon-stopwatch">1000ms</span>
                            <span class="bp4-tag bp4-large bp4-minimal problem__tag-item icon icon-comparison">16MiB</span>
                                                      </ul>
                      </div>
                    </div>
                    <div class="section">
                      <div class="problem-content-container"><div class="problem-content" data-marker-enabled>
                        <div class="section__header non-scratchpad--hide">
                          <h1 class="section__title">【入门】统计大写英文字母的个数</h1>
                        </div>
                                <div class="section__body typo" data-fragment-id="problem-description">
                        <h2>说明</h2>
                <p><span style="font-family:'Segoe UI', Helvetica, Arial, sans-serif;font-size:15px;background-color:#F5F5F5;">算算以‘.’结束的一串字符中含有多少个大写的英文字母。</span></p>
                <h2>输入格式</h2>
                <p><span style="font-family:'Segoe UI', Helvetica, Arial, sans-serif;font-size:15px;background-color:#F5F5F5;">输入一串字符,以.结束</span></p>
                <h2>输出格式</h2>
                <p><span style="font-family:'Segoe UI', Helvetica, Arial, sans-serif;font-size:15px;background-color:#F5F5F5;">输出一行,即这串字符中大写字母的个数。</span></p>
                <h2>样例</h2>
                <pre><code class="language-input1">PRC,PRC,I’m from China.</code></pre><pre><code class="language-output1">8</code></pre>
                
                </div>      </div></div>
                    </div>
                  </div>
                  <div class="medium-3 columns">
                                <div class="section side section--problem-sidebar">
                  <div>
                    <ol class="menu">
                              <li class="menu__item scratchpad--hide nojs--hide"><a class="menu__link highlight" name="problem-sidebar__open-scratchpad" href="javascript:;" data-global-hotkey="alt+e">
                        <span class="icon icon-enlarge"></span> 进入在线编程模式 (Alt+E)
                      </a></li>
                      <li class="menu__item non-scratchpad--hide"><a class="menu__link" name="problem-sidebar__quit-scratchpad" href="javascript:;" data-global-hotkey="alt+q">
                        <span class="icon icon-enlarge"></span> 退出在线编程模式 (Alt+Q)
                      </a></li>
                          <li class="menu__item scratchpad--hide"><a class="menu__link" href="/p/48/submit?tid=63f048c2fe582d833fbeba96">
                        <span class="icon icon-send"></span> 递交
                      </a></li>
                            </ol>
                  </div>
                </div>    <div class="section side">
                  <a class="contest-sidebar__bg" href="/homework/63f048c2fe582d833fbeba96">
                    <div class="section__body">
                      <h1>字符数组2</h1>
                      <div class="contest-sidebar__status">
                              <span class="icon icon-check"></span> 已认领
                            </div>
                    </div>
                  </a>
                  <div>
                    <ol class="menu">
                          <li class="menu__item"><a class="menu__link" href="/homework/63f048c2fe582d833fbeba96">
                        <span class="icon icon-homework"></span> 查看作业
                      </a></li>
                                  <li class="menu__item"><a class="menu__link" href="/homework/63f048c2fe582d833fbeba96/scoreboard">
                        <span class="icon icon-statistics"></span> 成绩表
                      </a></li>
                                  <li class="menu__item"><a class="menu__link" href="/record?uidOrName=172&amp;tid=63f048c2fe582d833fbeba96">
                        <span class="icon icon-flag"></span> 我的最近递交记录
                      </a></li>
                          <li class="menu__item"><a class="menu__link" href="Error: No route found for name: wiki#homework">
                        <span class="icon icon-help"></span> 帮助
                      </a></li>
                      <li class="menu__seperator"></li>
                    </ol>
                  </div>
                  <div class="section__body typo">
                    <dl class="large horizontal">
                      <dt>状态</dt><dd>正在进行…</dd>
                      <dt>题目</dt><dd>4</dd>
                      <dt>开始时间</dt><dd><span class="time" data-timestamp="1676649600">2023-2-17 16:00</span>
                </dd>
                      <dt>截止时间</dt><dd><span class="time" data-timestamp="1677427140">2023-2-26 15:59</span>
                </dd>
                      <dt>可延期</dt><dd>24
                 小时</dd>
                    </dl>
                  </div>
                </div>    </div>
                </div>
                <div style="display:none" class="outer-loader-container"><div class="loader"></div></div>
                <div class="scratchpad-container" style="display:none">
                  <div style="display:none" class="loader-container"><div class="loader"></div></div>
                  <div id="scratchpad" style="opacity:0"></div>
                </div>
                  </div>
                  <div class="footer">
                  <div class="row"><div class="columns">
                      <div class="row footer__links">
                      <div class="medium-3 large-2 columns footer__category expandable">
                        <h1>
                          状态
                          <span class="expand-icon">
                            <span class="icon icon-expand_more"></span>
                          </span>
                        </h1>
                        <div class="footer__category__expander"><ul class="footer__category__list">
                          <li class="footer__category__item"><a href="/record">评测队列</a></li>
                          <li class="footer__category__item"><a href="/status">服务状态</a></li>
                        </ul></div>
                      </div>
                      <div class="medium-3 large-2 columns footer__category expandable">
                        <h1>
                          开发
                          <span class="expand-icon">
                            <span class="icon icon-expand_more"></span>
                          </span>
                        </h1>
                        <div class="footer__category__expander"><ul class="footer__category__list">
                          <li class="footer__category__item"><a href="https://github.com/hydro-dev/Hydro" target="_blank">开源</a></li>
                          <li class="footer__category__item"><a href="/api">API</a></li>
                        </ul></div>
                      </div>
                      <div class="medium-3 large-2 columns footer__category expandable end">
                        <h1>
                          支持
                          <span class="expand-icon">
                            <span class="icon icon-expand_more"></span>
                          </span>
                        </h1>
                        <div class="footer__category__expander"><ul class="footer__category__list">
                          <li class="footer__category__item"><a href="/wiki/help">帮助</a></li>
                          <!--<li class="footer__category__item"><a href="#">博客</a></li>-->
                          <li class="footer__category__item"><a href="/wiki/about#contact">QQ 群</a></li>
                        </ul></div>
                      </div>
                    </div>
                      <div class="footer__extra-link clearfix">
                      <div class="footer__extra-left">
                        <ol class="clearfix">
                          <li class="footer__extra-link-item"><a href="/wiki/about">关于</a></li>
                          <li class="footer__extra-link-item"><a href="/wiki/about#contact">联系我们</a></li>
                          <li class="footer__extra-link-item"><a href="/wiki/about#privacy">隐私</a></li>
                          <li class="footer__extra-link-item"><a href="/wiki/about#tos">服务条款</a></li>
                          <li class="footer__extra-link-item"><a href="https://hydro.js.org/#%E8%81%94%E7%B3%BB%E6%88%91%E4%BB%AC">版权申诉</a></li>
                          <li class="footer__extra-link-item nojs--hide" data-dropdown-target="#menu-footer-lang">
                            <span><span class="icon icon-global"></span> Language <span class="icon icon-expand_less"></span></span>
                            <ol class="dropdown-target menu" id="menu-footer-lang"><li class="menu__item"><a class="menu__link" href="/language/en">English</a></li><li class="menu__item"><a class="menu__link" href="/language/ko">한국어</a></li><li class="menu__item"><a class="menu__link" href="/language/zh">简体中文</a></li><li class="menu__item"><a class="menu__link" href="/language/zh_TW">正體中文</a></li></ol>
                          </li>
                          <li class="footer__extra-link-item">
                                          <a href="/legacy?legacy=true">Legacy mode</a>
                                      </li>
                          <li class="footer__extra-link-item nojs--hide" data-dropdown-target="#menu-footer-theme">
                            <span><span class="icon icon-global"></span> 主题 <span class="icon icon-expand_less"></span></span>
                            <ol class="dropdown-target menu" id="menu-footer-theme">
                              <li class="menu__item"><a class="menu__link" href="/set_theme/light">亮色</a></li>
                              <li class="menu__item"><a class="menu__link" href="/set_theme/dark">暗色</a></li>
                            </ol>
                          </li>
                        </ol>
                      </div>
                      <div class="footer__extra-right">
                        <ol class="clearfix"><li class="footer__extra-link-item"></li><li class="footer__extra-link-item"></li><li class="footer__extra-link-item">Worker 0 in 9ms</li>
                          <!-- Prepare 5ms -->
                          <!-- Method 0ms -->
                          <li class="footer__extra-link-item">Powered by <a href="https://hydro.js.org">Hydro v4.7.2</a> Community</li>
                        </ol>
                      </div>
                    </div>
                  </div></div>
                </div>
                </div>
                      <script>
                      var UiContext = '{"cdn_prefix":"/","url_prefix":"/","ws_prefix":"/","nav_logo_dark":"/components/navigation/nav-logo-small_dark.png","constantVersion":"e3273358","domainId":"system","domain":{"_id":"system","owner":1,"name":"Hydro","bulletin":"Hydro System","roles":{"root":"-1","guest":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652661870373870220902529","default":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652809806901414229410497","student":"10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652809806901414229410497"},"avatar":"","lower":"system"},"extraTitleContent":"\u3010\u5165\u95E8\u3011\u7EDF\u8BA1\u5927\u5199\u82F1\u6587\u5B57\u6BCD\u7684\u4E2A\u6570","SWConfig":{"hosts":["http://219.153.61.2:20004","https://219.153.61.2:20004","/","/"],"domains":[]},"problemId":48,"problemNumId":48,"codeLang":"java","codeTemplate":"#include<iostream>\\r\\nusing namespace std;\\r\\nint main(){\\r\\n    return 0;\\r\\n}","pdoc":{"_id":"610233973289663d330055b3","content":"<h2>\u8BF4\u660E</h2>\\n\\n<span style=\\"font-family:\'Segoe UI\', Helvetica, Arial, sans-serif;font-size:15px;background-color:#F5F5F5;\\">\u7B97\u7B97\u4EE5\u2018.\u2019\u7ED3\u675F\u7684\u4E00\u4E32\u5B57\u7B26\u4E2D\u542B\u6709\u591A\u5C11\u4E2A\u5927\u5199\u7684\u82F1\u6587\u5B57\u6BCD\u3002</span>\\n<h2>\u8F93\u5165\u683C\u5F0F</h2>\\n\\n<span style=\\"font-family:\'Segoe UI\', Helvetica, Arial, sans-serif;font-size:15px;background-color:#F5F5F5;\\">\u8F93\u5165\u4E00\u4E32\u5B57\u7B26\uFF0C\u4EE5.\u7ED3\u675F</span>\\n<h2>\u8F93\u51FA\u683C\u5F0F</h2>\\n\\n<span style=\\"font-family:\'Segoe UI\', Helvetica, Arial, sans-serif;font-size:15px;background-color:#F5F5F5;\\">\u8F93\u51FA\u4E00\u884C\uFF0C\u5373\u8FD9\u4E32\u5B57\u7B26\u4E2D\u5927\u5199\u5B57\u6BCD\u7684\u4E2A\u6570\u3002</span>\\n<h2>\u6837\u4F8B</h2>\\n<pre><code class=\\"language-input1\\">PRC,PRC,I\u2019m from China.</code></pre><pre><code class=\\"language-output1\\">8</code></pre>\\n","owner":1,"domainId":"system","docType":10,"docId":48,"title":"\u3010\u5165\u95E8\u3011\u7EDF\u8BA1\u5927\u5199\u82F1\u6587\u5B57\u6BCD\u7684\u4E2A\u6570","tag":[],"hidden":false,"data":[{"_id":"config.yaml","name":"config.yaml","size":21,"lastModified":"2021-07-29T04:50:31.267Z","etag":"4bb7dc344f9d4f67bab1933e85dc50b1"},{"_id":"1.in","name":"1.in","size":41,"lastModified":"2022-09-18T11:10:17.913Z","etag":"d96e5656c476e6b3602faef7762d6a8e"},{"_id":"1.out","name":"1.out","size":2,"lastModified":"2022-09-18T11:09:44.396Z","etag":"d3d9446802a44259755d38e6d163e820"}],"config":{"count":0,"memoryMin":16,"memoryMax":16,"timeMin":1000,"timeMax":1000,"type":"default","langs":["c","cc","cc.std98","cc.std11","cc.std17","pas","java","py","py.py2","py.py3","php","rs","hs","js","go","rb","cs","jl"]}},"canViewRecord":true,"postSubmitUrl":"/p/48/submit?tid=63f048c2fe582d833fbeba96","getSubmissionsUrl":"/record?fullStatus=true&pid=48&tid=63f048c2fe582d833fbeba96","getRecordDetailUrl":"/record/%7Brid%7D?tid=63f048c2fe582d833fbeba96","pretestConnUrl":"record-conn?pretest=1&uidOrName=172&pid=48&domainId=system&tid=63f048c2fe582d833fbeba96","tdoc":{"_id":"63f048c2fe582d833fbeba96","content":"\u57FA\u7840\u98982","owner":2,"domainId":"system","docType":30,"docId":"63f048c2fe582d833fbeba96","penaltySince":"2023-02-26T15:59:00.000Z","penaltyRules":{"1":0.9,"3":0.8,"12":0.75,"9999":0.5},"assign":["2023\u6821\u57F9"],"title":"\u5B57\u7B26\u6570\u7EC42","rule":"homework","beginAt":"2023-02-17T16:00:00.000Z","endAt":"2023-02-27T15:59:00.000Z","pids":[48,51,98,99],"attend":8,"rated":false}}';
                      var UserContext = '{"_id":172,"mail":"tyz@126.com","uname":"tyz","hashType":"hydro","priv":66564,"regat":"2022-10-27T07:52:32.640Z","loginat":"2023-02-25T00:29:54.039Z","perm":"BigInt::10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652809806901414229410497","scope":"BigInt::-1","role":"default","tfa":false,"authn":false,"group":["2022\u5189\u961F","2023\u6821\u57F9","172","172"],"viewLang":"zh","skipAnimate":true,"timeZone":"Africa/Abidjan","codeLang":"java","codeTemplate":"#include<iostream>\\r\\nusing namespace std;\\r\\nint main(){\\r\\n    return 0;\\r\\n}","avatar":"//cn.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=mm&s=128","qq":"","gender":"0","bio":"Let you taste the taste of trembling, because of cold, also because of fear.\\r\\n\\r\\n","school":"\u5C3F\u9891\u5B9E\u9A8C\u5C0F\u5B66","studentId":"2028348975634759437539465936555555555555555555548520523","backgroundImage":"/components/profile/backgrounds/2.jpg","unreadMsg":0,"fontFamily":"Microsoft Yahei","codeFontFamily":"Ubuntu Mono","preferredEditorType":"sv","monacoTheme":"vs-light","theme":"dark","showInvisibleChar":true,"formatCode":true,"displayName":"\u5510\u5B87\u5586","nAccept":76,"nSubmit":92,"rp":196.12267540779592,"rpInfo":{"problem":196.12267540779592},"rank":41,"level":5,"avatarUrl":"//cn.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=mm&s=128"}';
                    </script>
                          <script type="text/javascript" src="/resource/4.47.2/lang-zh.js"></script>
                      <script type="text/javascript" src="/hydro-4.47.2.js"></script>
                        </body>
                </html>
                
                
                • 1

                信息

                ID
                48
                时间
                1000ms
                内存
                16MiB
                难度
                3
                标签
                递交数
                91
                已通过
                49
                上传者