Submission #383506

# Submission time Handle Problem Language Result Execution time Memory
383506 2021-03-30T07:08:04 Z alireza_kaviani Wombats (IOI13_wombats) C++11
0 / 100
20 ms 16364 KB
#include <bits/stdc++.h>
#include "wombats.h"

void init(int R, int C, int H[5000][200], int V[5000][200]) {
    /* ... */
	int sum = 0;
	for(int i = 0 ; i < 5000 ; i++){
		for(int j = 0 ; j < 200 ; j++){
			sum += H[i][j] + V[i][j];
		}
	}
	assert(sum < 2000);
}

void changeH(int P, int Q, int W) {
    /* ... */
}

void changeV(int P, int Q, int W) {
    /* ... */
}

int escape(int V1, int V2) {
    return 42;
}

Compilation message

grader.c: In function 'int main()':
grader.c:15:6: warning: variable 'res' set but not used [-Wunused-but-set-variable]
   15 |  int res;
      |      ^~~
# Verdict Execution time Memory Grader output
1 Incorrect 6 ms 4204 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 3 ms 364 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 7 ms 876 KB Execution killed with signal 6
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 20 ms 16364 KB Execution killed with signal 6
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 7 ms 876 KB Execution killed with signal 6
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 8 ms 1024 KB Execution killed with signal 6
2 Halted 0 ms 0 KB -