178322025-09-19 09:08:47ercseferencTelefonközpontcpp17Wrong answer 0/100600ms1012 KiB
#include <bits/stdc++.h>
using namespace std;
int main()
{
    int m,n,q;
    cin>>n>>m>>q;
    vector<int>a(n+1);
    for(int i=0; i<m; i++){
        int x,y; cin>>x>>y;
        for(int j=x; j<=y; j++)a[j]++;}
    /*for(int i=0; i<q; i++){
        int maxi=0,x,y; cin>>x>>y;
        for(int j=x; j<=y; j++)if(maxi<a[j])maxi=a[j];
        cout<<maxi<<endl;}*/
    return 0;
}
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Wrong answer1ms316 KiB
2Wrong answer1ms512 KiB
subtask20/20
3Wrong answer1ms316 KiB
4Wrong answer1ms508 KiB
5Wrong answer1ms316 KiB
6Wrong answer1ms316 KiB
7Wrong answer1ms316 KiB
8Wrong answer1ms316 KiB
9Wrong answer1ms316 KiB
subtask30/20
10Wrong answer1ms316 KiB
11Wrong answer1ms508 KiB
12Wrong answer1ms316 KiB
13Wrong answer1ms316 KiB
14Wrong answer1ms316 KiB
15Wrong answer1ms316 KiB
16Wrong answer1ms316 KiB
17Wrong answer7ms316 KiB
18Wrong answer9ms316 KiB
19Wrong answer7ms316 KiB
20Wrong answer7ms384 KiB
21Wrong answer8ms316 KiB
22Wrong answer9ms316 KiB
23Wrong answer10ms316 KiB
subtask40/60
24Wrong answer1ms316 KiB
25Wrong answer1ms508 KiB
26Wrong answer1ms316 KiB
27Wrong answer1ms316 KiB
28Wrong answer1ms316 KiB
29Wrong answer1ms316 KiB
30Wrong answer1ms316 KiB
31Wrong answer7ms316 KiB
32Wrong answer9ms316 KiB
33Wrong answer7ms316 KiB
34Wrong answer7ms384 KiB
35Wrong answer8ms316 KiB
36Wrong answer9ms316 KiB
37Wrong answer10ms316 KiB
38Time limit exceeded600ms820 KiB
39Time limit exceeded600ms820 KiB
40Time limit exceeded600ms1012 KiB
41Time limit exceeded600ms824 KiB
42Time limit exceeded573ms820 KiB
43Time limit exceeded573ms820 KiB
44Time limit exceeded573ms832 KiB