QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#225368 | #7521. Find the Gap | PetroTarnavskyi# | Compile Error | / | / | C++17 | 129b | 2023-10-24 16:06:59 | 2023-10-24 16:07:00 |
Judging History
answer
#include <iostream>
#include <set>
#include <map>
int main()
{
ios::sync_with_stdio(0);
cin.tie(0);
return 0;
}
Details
answer.code: In function ‘int main()’: answer.code:7:9: error: ‘ios’ has not been declared 7 | ios::sync_with_stdio(0); | ^~~ answer.code:8:9: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’? 8 | cin.tie(0); | ^~~ | std::cin In file included from answer.code:1: /usr/include/c++/11/iostream:60:18: note: ‘std::cin’ declared here 60 | extern istream cin; /// Linked to standard input | ^~~