QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#270567#7534. KPI CalculationvxvWA 0ms3888kbC++20314b2023-12-01 09:45:232023-12-01 09:45:25

Judging History

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

  • [2023-12-01 09:45:25]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3888kb
  • [2023-12-01 09:45:23]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
char s[102 << 10];
int main(){
	int res = 0;
	while(!feof(stdin)){
		fgets(s, 101 << 10, stdin);
		int t = -1;
		for(int i=0; s[i] != '\n'; i++)
			if(s[i] > ' '){
				t = i;
				break;
			}
		if(t != -1)res += t;
	}
	printf("%d\n",res);
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3788kb

input:

#include <cstdio>

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


output:

10

result:

ok answer is '10'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3800kb

input:



          a


 b




output:

11

result:

ok answer is '11'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3864kb

input:











output:

0

result:

ok answer is '0'

Test #4:

score: 0
Accepted
time: 0ms
memory: 3788kb

input:



output:

0

result:

ok answer is '0'

Test #5:

score: -100
Wrong Answer
time: 0ms
memory: 3888kb

input:

                                                                                                                                                                                                                                                                                                            ...

output:

186366

result:

wrong answer expected '93183', found '186366'