提交记录 9112


用户 题目 状态 得分 用时 内存 语言 代码长度
zhouxiang 1000i. 【传统题】 A+B Problem Compile Error 0 0 ns 0 KB C++11 326 B
提交时间 评测时间
2019-04-10 19:14:00 2020-08-01 01:31:20
#include<bits/stdc++.h>
using namespace std;
const int N=260000;
bool vis[260000];
int main()
{
   for(int i=2; i<=n; i++)
    {
        if (v[i]) continue;
        for (int j=i; j<=n/i; j++) v[i*j]=1;
}
    int t;
    cin>>t;

    int a,b;
    while(t--)
    {
       cin>>a>>b;
       cout<<a+b<<endl;
    }
    return 0;
}

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2026-04-04 19:41:16 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠