提交记录 9113
| 提交时间 |
评测时间 |
| 2019-04-10 19:14:58 |
2020-08-01 01:31:59 |
#include<bits/stdc++.h>
using namespace std;
const int N=260000;
bool vis[260000];
int main()
{
for(int i=2; i<=N; i++)
{
if (vis[i]) continue;
for (int j=i; j<=N/i; j++) vis[i*j]=1;
}
int t;
cin>>t;
int a,b;
while(t--)
{
cin>>a>>b;
cout<<a+b<<endl;
}
return 0;
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 1 ms | 284 KB | Time Limit Exceeded | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-04-04 19:42:57 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠