2 条题解

  • 3
    @ 2024-10-18 23:28:51

    思路

    将两个时间转换为Unix时间戳相减,然后转换为正常时间即可,根据题目要求,只需填空输出结果。
    可使用网站https://tool.lu/timestamp/

    代码

    #include <iostream>
    #include <cstdio>
    using namespace std;
    
    int main() {
        cout<<"1799-12-21";
        return 0;
    }
    
    • -2
      @ 2024-10-21 21:48:33

      有点水

      #include<bits/stdc++.h>
      using namespace std;
      int main(){
          cout<<"1799-12-21";
          return 0;
      }
      
      • 1

      信息

      ID
      12
      时间
      1000ms
      内存
      128MiB
      难度
      4
      标签
      递交数
      20
      已通过
      17
      上传者