Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
148191 张晓冉 笨鸟先飞 C++ Compile Error 0 MS 0 KB 235 2026-02-09 20:46:27

Tests(0/0):


Code:

#include<iostream> using namespace std; cont int MOD = 1000; int main(){ int T; cin>>T; while(T--){ long long n; cin>>n; long long res = n*n; cout<<res%MOD<<endl; } return 0; }


Run Info:

Main.cc:3:1: error: 'cont' does not name a type
 cont int MOD = 1000;
 ^
Main.cc: In function 'int main()':
Main.cc:11:19: error: 'MOD' was not declared in this scope
         cout<