Submission #891513

#TimeUsernameProblemLanguageResultExecution timeMemory
891513Muhammad_AneeqRectangles (IOI19_rect)C++17
Compilation error
0 ms0 KiB
#include "rect.h" #include <cstdio> #include <iostream> #include <cassert> #include "sol.cpp" using namespace std; static const int buf_size = 4096; inline int getChar() { static char buf[buf_size]; static int len = 0, pos = 0; if (pos == len) { pos = 0; len = fread(buf, 1, buf_size, stdin); } if (pos == len) return -1; return buf[pos++]; } inline int readChar() { int c = getChar(); while (c <= 32) c = getChar(); return c; } inline int readInt() { int s = 1, c = readChar(); int x = 0; while ('0' <= c && c <= '9') { x = x * 10 + c - '0'; c = getChar(); } return x; } int main() { int n;cin>>n; int m;cin>>m; vector<vector<int> > a(n, vector<int>(m)); for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { cin>>a[i][j]; } } fclose(stdin); long long result = count_rectangles(a); printf("%lld\n", result); fclose(stdout); return 0; }

Compilation message (stderr)

rect.cpp:5:10: fatal error: sol.cpp: No such file or directory
    5 | #include "sol.cpp"
      |          ^~~~~~~~~
compilation terminated.