Pagini recente » Borderou de evaluare (job #2777229) | Borderou de evaluare (job #2433346) | Borderou de evaluare (job #2239216) | Borderou de evaluare (job #579081) | Borderou de evaluare (job #1870923)
Borderou de evaluare (job #1870923)
Raport evaluator
Compilare:
user.cpp: In function ‘int SOLVE_2(int, int)’:
user.cpp:77:26: warning: variable ‘g’ set but not used [-Wunused-but-set-variable]
int i, nr, ans, h=0, g, mn, mx;
^
user.cpp: In function ‘int main()’:
user.cpp:109:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qvect.in", "r", stdin);
^
user.cpp:110:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qvect.out", "w", stdout);
^
user.cpp:111:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &Q);
^
user.cpp:114:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i][0]);
^
user.cpp:116:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i][j]);
^
user.cpp:120:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &t, &i, &j);
^
user.cpp: In function ‘int SOLVE_1(int, int)’:
user.cpp:51:35: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
dif=min(dif, MODUL(v[X][i]-y));
^
user.cpp:53:35: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
dif=min(dif, MODUL(x-v[Y][j]));
^
user.cpp: In function ‘int SOLVE_2(int, int)’:
user.cpp:104:12: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return ans;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 352kb | OK | 5 |
| 2 | 0ms | 416kb | OK | 5 |
| 3 | 56ms | 1028kb | OK | 5 |
| 4 | 272ms | 2232kb | OK | 5 |
| 5 | 0ms | 316kb | OK | 5 |
| 6 | 28ms | 668kb | OK | 5 |
| 7 | 276ms | 2232kb | OK | 5 |
| 8 | 28ms | 856kb | OK | 5 |
| 9 | 76ms | 1228kb | OK | 5 |
| 10 | 192ms | 1916kb | OK | 5 |
| 11 | 196ms | 2116kb | OK | 5 |
| 12 | 148ms | 1900kb | OK | 5 |
| 13 | 188ms | 2136kb | OK | 5 |
| 14 | 216ms | 2224kb | OK | 5 |
| 15 | 200ms | 2232kb | OK | 5 |
| 16 | 220ms | 2232kb | OK | 5 |
| 17 | 176ms | 1932kb | OK | 5 |
| 18 | 180ms | 1936kb | OK | 5 |
| 19 | 228ms | 2228kb | Incorect | 0 |
| 20 | 324ms | 2232kb | Incorect | 0 |
| Punctaj total | 90 |