QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#107962 | #2829. Cryptography | HuangHanSheng | Compile Error | / | / | C++98 | 686b | 2023-05-23 11:46:00 | 2023-05-23 11:46:01 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:12:45: error: ‘>>’ should be ‘> >’ within a nested template argument list 12 | priority_queue<pll, vector<pll>, greater<pll>> heap; | ^~ | > > answer.code: In function ‘int main()’: answer.code:26:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] 26 | while(scanf("%d%d",&n,&m)!=EOF){ | ~^ ~~ | | | | int* long long int* | %lld answer.code:26:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] 26 | while(scanf("%d%d",&n,&m)!=EOF){ | ~^ ~~ | | | | int* long long int* | %lld answer.code:27:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] 27 | for(int i=0;i<1<<n;i++) scanf("%d",&f[i]); | ~^ ~~~~~ | | | | | long long int* | int* | %lld answer.code:28:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] 28 | for(int i=0;i<1<<n;i++) scanf("%d",&g[i]); | ~^ ~~~~~ | | | | | long long int* | int* | %lld answer.code:29:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] 29 | for(int i=0;i<1<<n;i++) scanf("%d",&h[i]); | ~^ ~~~~~ | | | | | long long int* | int* | %lld answer.code:33:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] 33 | scanf("%d %d",&a,&b); | ~^ ~~ | | | | int* long long int* | %lld answer.code:33:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] 33 | scanf("%d %d",&a,&b); | ~^ ~~ | | | | int* long long int* | %lld answer.code:27:46: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 27 | for(int i=0;i<1<<n;i++) scanf("%d",&f[i]); | ~~~~~^~~~~~~~~~~~ answer.code:28:46: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 28 | for(int i=0;i<1<<n;i++) scanf("%d",&g[i]); | ~~~~~^~~~~~~~~~~~ answer.code:29:46: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 29 | for(int i=0;i<1<<n;i++) scanf("%d",&h[i]); | ~~~~~^~~~~~~~~~~~ answer.code:33:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 33 | scanf("%d %d",&a,&b); | ~~~~~^~~~~~~~~~~~~~~