QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#383703#6747. PermutationTeiosama#Compile Error//C++17163b2024-04-09 16:53:102024-04-09 16:53:10

Judging History

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

  • [2024-04-09 16:53:10]
  • 评测
  • [2024-04-09 16:53:10]
  • 提交

answer

#include<bits/stdc++.h>
#include<unordered_map>
#include<list>
using namespace std;
int main()
	long long ans = 0;
{for(int i = 1;i<1e10;i++)
	ans+=1;
	
}

Details

answer.code:6:9: error: expected initializer before ‘long’
    6 |         long long ans = 0;
      |         ^~~~
answer.code:7:1: error: expected unqualified-id before ‘{’ token
    7 | {for(int i = 1;i<1e10;i++)
      | ^