Submission #319164


Source Code Expand

#include <iostream>
using namespace std;

int main(void)
{
   int s, e, total;
   total = 0;
   while (in >> s >> e) {
      total += s * 0.1 * e;
   }
   cout << total << endl;
}

Submission Info

Submission Time
Task A - プロコン
User Shiro_K
Language C++ (G++ 4.6.4)
Score 0
Code Size 192 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:8:11: error: ‘in’ was not declared in this scope