QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#291667#7625. Pathjzhong0821WA 1ms3368kbC++17940b2023-12-27 02:33:502023-12-27 02:33:51

Judging History

你现在查看的是最新测评结果

  • [2023-12-27 02:33:51]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3368kb
  • [2023-12-27 02:33:50]
  • 提交

answer

#include <iostream>
#include <assert.h>
#include <cstring>
#include <vector>
#include <queue>
#include <deque>
#include <algorithm>
using namespace std;

#define fo(x) freopen(#x ".in", "r", stdin), freopen(#x ".out", "w", stdout)
#define f1(i,k) for(int i=1,end_i=(k);i<=end_i;i++)
#define f0(i,k) for(int i=0,end_i=(k);i< end_i;i++)
#define cle(x) memset(x, 0, sizeof(x))
#define lobit(x) ((x) & -(x))
#define ll long long
#define pb push_back

inline int read()
{
    char c=getchar();int x=0;bool f=0;
    for(;!isdigit(c);c=getchar())f^=!(c^45);
    for(;isdigit(c);c=getchar())x=(x<<1)+(x<<3)+(c^48);
    if(f)x=-x;return x;
}

const int inf = 2e18;
const int lim = 200005;
const int mv  = 1500;

int n,m;
int sn[lim], sm[lim];
int res;

void work(){
    cin>>n>>m;
    f1(i,m){
        
    }
}

int main(){
    int t;
    cin>>t;
    while(t--){
        work();
    }
    return 0;
}

详细

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3368kb

input:

4 4
1 3 3 1
8 10 8 5

output:


result:

wrong answer 1st lines differ - expected: '11', found: ''