QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#506574 | #4912. WereYouLast | lifan | 0 | 203ms | 5116kb | C++14 | 180b | 2024-08-05 19:42:37 | 2024-08-05 19:42:38 |
Judging History
answer
//
#include<bits/stdc++.h>
using namespace std;
bool query(int);
void modify(int,bool);
int cnt;
bool WereYouLast(int n,int m){
++cnt;
if(cnt==n) return 1;
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: 0ms
memory: 3784kb
input:
1024 10
output:
12345876 -3 1024
result:
wrong answer Wrong Answer At Query 1024.
Subtask #2:
score: 0
Wrong Answer
Test #2:
score: 0
Wrong Answer
time: 0ms
memory: 5116kb
input:
65536 100000
output:
12345876 -3 65536
result:
wrong answer Wrong Answer At Query 65536.
Subtask #3:
score: 0
Wrong Answer
Test #3:
score: 0
Wrong Answer
time: 4ms
memory: 5012kb
input:
1048576 100000
output:
12345876 -3 1048576
result:
wrong answer Wrong Answer At Query 1048576.
Subtask #4:
score: 0
Wrong Answer
Test #4:
score: 0
Wrong Answer
time: 203ms
memory: 5004kb
input:
67108864 100000
output:
12345876 -3 67108864
result:
wrong answer Wrong Answer At Query 67108864.