Task: | kusac |
Sender: | ollpu |
Submission time: | 2016-07-27 15:54:14 +0300 |
Language: | C++ |
Status: | COMPILE ERROR |
Compiler report
input/code.cpp: In function 'int main()': input/code.cpp:14:10: error: 'cuts' was not declared in this scope cout << cuts; ^
Code
#include <iostream> using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(0); int n, m; cin >> n >> m; int c = 0; for (int i = 0; i < n*m; i += n) { if (i % m) c++; } cout << cuts; }