#include using namespace std; int main() { //take solution output and count characters int count=0; char ch; while (scanf("%c",&ch)!=EOF) { //you can also validate char x to increment count in case you want to count only whitespace chars //here I am going to count all chars count++; } //apply fromula given in problem statement to calculate score based on soution size double score = 0.0; if (count<1500) { score = 100 - (count/15.0); } cout<