Pagini recente » Borderou de evaluare (job #2303701) | Borderou de evaluare (job #3132288) | Borderou de evaluare (job #3168092) | Borderou de evaluare (job #2626648) | Borderou de evaluare (job #2097422)
Borderou de evaluare (job #2097422)
Raport evaluator
Compilare:
user.cpp: In function ‘int find(int, int)’:
user.cpp:12:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < h[xw].size()) {
^
user.cpp: In function ‘void add(int, int, int&)’:
user.cpp:24:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (p == h[xw].size()) {
^
user.cpp: In function ‘int main()’:
user.cpp:48:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < h[i].size(); ++j) {
^
user.cpp:49:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]
fprintf(f, "%d %d ", h[i][j].x, h[i][j].y);
^
user.cpp:35:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
user.cpp:38:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &m);
^
user.cpp:40:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 320kb | OK! | 10 |
2 | 56ms | 376kb | OK! | 10 |
3 | 168ms | 516kb | OK! | 10 |
4 | 228ms | 576kb | OK! | 10 |
5 | 444ms | 800kb | OK! | 10 |
6 | 764ms | 1076kb | OK! | 10 |
7 | 852ms | 1148kb | OK! | 10 |
8 | 976ms | 1228kb | OK! | 10 |
9 | 1204ms | 1552kb | OK! | 10 |
10 | 1336ms | 1704kb | OK! | 10 |
Punctaj total | 100 |