Description
描述问题
在测试并发答题时 (10个学生同一时间作答同一道题),其他编程语言都运行正常,就C#语言老是运行错误。
题目: A+B
程序:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace ConsoleApplication3 {
class Program {
static void Main(string[] args)
{
string s ;
for (; ; )
{
s = Console.ReadLine();
if (s == null) break;
string[] words = new string[2];
words = s.Split(new char[] { ' ' });
Console.WriteLine("{0}", int.Parse(words[0]) + int.Parse(words[1]));
}
}
}
}
系统信息
Linux 805e17d0dec9 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
错误信息
/1736/sample.in:[ERROR] solution_id:2806 called a Forbidden system call:62 [62]
TO FIX THIS , ask admin to add the CALLID into corresponding LANG_XXV[] located at okcalls32/64.h ,
and recompile judge_client.
if you are admin and you don't know what to do ,
chinese explaination can be found on https://zhuanlan.zhihu.com/p/24498599
/1736/sample.in:[ERROR] solution_id:2806 called a Forbidden system call:62 [62]
TO FIX THIS , ask admin to add the CALLID into corresponding LANG_XXV[] located at okcalls32/64.h ,
and recompile judge_client.
if you are admin and you don't know what to do ,
chinese explaination can be found on https://zhuanlan.zhihu.com/p/24498599
/1736/sample.in:Killed
/1736/加法用例-1.in:[ERROR] solution_id:2806 called a Forbidden system call:62 [62]
TO FIX THIS , ask admin to add the CALLID into corresponding LANG_XXV[] located at okcalls32/64.h ,
and recompile judge_client.
if you are admin and you don't know what to do ,
chinese explaination can be found on https://zhuanlan.zhihu.com/p/24498599
/1736/加法用例-1.in:[ERROR] solution_id:2806 called a Forbidden system call:62 [62]
TO FIX THIS , ask admin to add the CALLID into corresponding LANG_XXV[] located at okcalls32/64.h ,
and recompile judge_client.
if you are admin and you don't know what to do ,
chinese explaination can be found on https://zhuanlan.zhihu.com/p/24498599
/1736/加法用例-1.in:Killed
/1736/加法用例-2.in:[ERROR] solution_id:2806 called a Forbidden system call:62 [62]
TO FIX THIS , ask admin to add the CALLID into corresponding LANG_XXV[] located at okcalls32/64.h ,
and recompile judge_client.
if you are admin and you don't know what to do ,
chinese explaination can be found on https://zhuanlan.zhihu.com/p/24498599
/1736/加法用例-2.in:[ERROR] solution_id:2806 called a Forbidden system call:62 [62]
TO FIX THIS , ask admin to add the CALLID into corresponding LANG_XXV[] located at okcalls32/64.h ,
and recompile judge_client.
if you are admin and you don't know what to do ,
chinese explaination can be found on https://zhuanlan.zhihu.com/p/24498599
/1736/加法用例-2.in:Killed
按错误消息中的提示,在okcalls32.h中加了 62 还是不行 。