QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#249825 | #7534. KPI Calculation | Nestik_55# | RE | 0ms | 0kb | Python3 | 137b | 2023-11-12 16:20:32 | 2023-11-12 16:20:33 |
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; }