Submission #6513640
Source Code Expand
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int y = n/15; int x = 800*n cout << x-200*y <<endl; }
Submission Info
Submission Time | |
---|---|
Task | A - Restaurant |
User | t3_saki |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 143 Byte |
Status | CE |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:8:3: error: expected ‘,’ or ‘;’ before ‘cout’ cout << x-200*y <<endl; ^