QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#137975#6342. Security Guardkonstantys#0 28ms3684kbC++17344b2023-08-10 20:02:522024-07-04 01:33:22

Judging History

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

  • [2024-07-04 01:33:22]
  • 评测
  • 测评结果:0
  • 用时:28ms
  • 内存:3684kb
  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-08-10 20:02:52]
  • 提交

answer

#include<iostream>
#include<cstdlib>
#include<cstdio>
#define ll long long
#include<vector>
using namespace std;
ll n,m,q,a,b,w;
int main(){
    ios_base::sync_with_stdio(0);
    cin>>n>>m>>q;
    for(int i=0;i<n;i++){
        cin>>a;
        w+=a;
    }
    for(int i=0;i<m;i++) cin>>a>>b;
    cout<<w<<"\n";
    return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 28ms
memory: 3684kb

input:

200000 199999 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

output:

200000

result:

wrong answer 1st numbers differ - expected: '199999', found: '200000'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Wrong Answer

Test #85:

score: 0
Wrong Answer
time: 0ms
memory: 3596kb

input:

16 15 200000
692461146 622302385 805066691 422290641 600839873 940930580 873147413 489653843 239129952 383473127 21389393 913787109 856138328 859082963 262475462 327598064
6 13
6 9
6 15
6 14
6 16
6 8
5 6
1 6
4 6
3 6
6 11
6 7
6 10
2 6
6 12

output:

9309766970

result:

wrong answer 1st numbers differ - expected: '14113958700', found: '9309766970'

Subtask #6:

score: 0
Skipped

Dependency #5:

0%

Subtask #7:

score: 0
Skipped

Dependency #1:

0%