Pagini recente » Borderou de evaluare (job #1658851) | Borderou de evaluare (job #3196424) | Borderou de evaluare (job #3164270) | Borderou de evaluare (job #193126) | Borderou de evaluare (job #1917555)
Borderou de evaluare (job #1917555)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < n - 1 && v[i + 1] - v[last] <= med)
^
user.cpp:32:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < n && v[i] - v[last] <= med)
^
user.cpp:11:6: warning: variable ‘sc’ set but not used [-Wunused-but-set-variable]
int sc, orase, last;
^
user.cpp:12:7: warning: unused variable ‘gasit’ [-Wunused-variable]
bool gasit;
^
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("orase1.in", "r", stdin);
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("orase1.out", "w", stdout);
^
user.cpp:13:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 264kb | OK | 10 | 10 |
| 2 | 0ms | 260kb | OK | 10 | 10 |
| 3 | 20ms | 652kb | OK | 10 | 10 |
| 4 | 48ms | 1048kb | OK | 10 | 10 |
| 5 | 132ms | 2604kb | OK | 10 | 10 |
| 6 | 148ms | 2996kb | OK | 10 | 10 |
| 7 | 180ms | 3392kb | OK | 10 | 30 |
| 8 | 200ms | 3776kb | OK | 10 |
| 9 | 220ms | 4164kb | OK | 10 |
| 10 | 0ms | 260kb | OK | 10 | 10 |
| Punctaj total | 100 |