Submission #4049148


Source Code Expand

package main

import "fmt"

func main() {
	var s string
	fmt.Scan(&s)

	price := 700
	for _, c := range s {
		if c == 'o' {
			price += 100
		}
	}
	fmt.Println(price)
}

Submission Info

Submission Time
Task A - Something on It
User spinute
Language Go (1.6)
Score 100
Code Size 183 Byte
Status AC
Exec Time 1 ms
Memory 512 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 8
Set Name Test Cases
Sample a01, a02, a03
All a01, a02, a03, b04, b05, b06, b07, b08
Case Name Status Exec Time Memory
a01 AC 1 ms 512 KB
a02 AC 1 ms 512 KB
a03 AC 1 ms 512 KB
b04 AC 1 ms 512 KB
b05 AC 1 ms 512 KB
b06 AC 1 ms 512 KB
b07 AC 1 ms 512 KB
b08 AC 1 ms 512 KB