Pagini recente » Borderou de evaluare (job #2529850) | Borderou de evaluare (job #1318041) | Borderou de evaluare (job #1345062) | Borderou de evaluare (job #2783918) | Borderou de evaluare (job #1993807)
Borderou de evaluare (job #1993807)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:13: warning: unused variable ‘x’ [-Wunused-variable]
int n, s, x, ans;
^
user.cpp:11: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:14:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", v + i);
^
user.cpp:33:16: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (ans <= s - ans) {
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 260kb | OK | 10 | 40 |
| 2 | 0ms | 260kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 4ms | 292kb | OK | 10 |
| 5 | 16ms | 320kb | OK | 10 | 40 |
| 6 | 0ms | 268kb | OK | 10 |
| 7 | 28ms | 340kb | OK | 10 |
| 8 | 4ms | 304kb | OK | 10 |
| 9 | 0ms | 268kb | OK | 10 | 20 |
| 10 | 48ms | 368kb | OK | 10 |
| Punctaj total | 100 |