QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#249825#7534. KPI CalculationNestik_55#RE 0ms0kbPython3137b2023-11-12 16:20:322023-11-12 16:20:33

Judging History

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

  • [2023-11-12 16:20:33]
  • 评测
  • 测评结果:RE
  • 用时:0ms
  • 内存:0kb
  • [2023-11-12 16:20:32]
  • 提交

answer

f = open("input.txt", "r")
ans = 0
for line in f:
	i = 0
	while i < len(line) and line[i] == ' ':
		ans += 1
		i += 1

print(ans)

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Dangerous Syscalls

input:

#include <cstdio>

int main()
{
 int a,b;
  scanf ("%d%d",&a,&b);
   printf ("%d\n",a+b);
    return 0;
}


output:


result: