# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1105319 | monaxia | Hotspot (NOI17_hotspot) | C++17 | 8 ms | 1904 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
#define pb push_back
#define ppb pop_back
#define fr first
#define sc second
#define all(v) v.begin(), v.end()
#define mod (long long)(1e9 + 7)
#define eps (long long)(1e-9)
using namespace std;
using ll = long long;
using ull = unsigned long long;
using ld = long double;
ll LIMIT = 2e3 + 5;
void solve(){
ld ans = 0;
for(int i = 1; i <= 80; i ++){
system("testmaker.exe");
system("code.exe");
system("solution.exe");
cout << "Test #" << i << ": ";
if(system("fc test.out test.ans"))cout << "Wrong\n";
else cout << "Correct\n", ans += 0.125;
}
cout << "Total Points: " << fixed << setprecision(2) << ans;
}
signed main()
{
// cin.tie(0)->sync_with_stdio(0);
ll n = 1;
while(n) {
solve();
n --;
printf("\n");
}
// cerr << "Time elapsed: " << 1.0 * clock() / CLOCKS_PER_SEC << " s.\n";
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |