Pagini recente » Borderou de evaluare (job #610070) | Borderou de evaluare (job #204700) | Borderou de evaluare (job #959563) | Borderou de evaluare (job #2214022) | Borderou de evaluare (job #1965032)
Borderou de evaluare (job #1965032)
Raport evaluator
Compilare:
user.cpp: In function ‘void execute1()’:
user.cpp:16:10: warning: unused variable ‘sepoate’ [-Wunused-variable]
bool sepoate = 1;
^
user.cpp: In function ‘void mysort(int*)’:
user.cpp:44:24: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(h, 0, sizeof(h));
^
user.cpp: In function ‘int main()’:
user.cpp:85:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &op);
^
user.cpp:86:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:89:58: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d", &h[i]), maxim = max(maxim, h[i]);
^
user.cpp: In function ‘int cautmax()’:
user.cpp:57:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 456kb | Corect | 5 |
| 2 | 0ms | 436kb | Corect | 5 |
| 3 | 0ms | 452kb | Corect | 5 |
| 4 | 0ms | 452kb | Corect | 5 |
| 5 | 0ms | 840kb | Corect | 4 |
| 6 | 0ms | 840kb | Corect | 4 |
| 7 | 0ms | 840kb | Corect | 4 |
| 8 | 0ms | 852kb | Corect | 4 |
| 9 | 0ms | 852kb | Corect | 4 |
| 10 | 0ms | 860kb | Corect | 4 |
| 11 | 0ms | 860kb | Corect | 4 |
| 12 | 0ms | 856kb | Corect | 4 |
| 13 | 0ms | 876kb | Corect | 4 |
| 14 | 0ms | 880kb | Corect | 4 |
| 15 | 0ms | 884kb | Corect | 5 |
| 16 | 4ms | 888kb | Corect | 5 |
| 17 | 4ms | 892kb | Corect | 5 |
| 18 | 4ms | 892kb | Corect | 5 |
| 19 | 4ms | 892kb | Corect | 5 |
| 20 | 4ms | 892kb | Corect | 5 |
| 21 | 28ms | 1324kb | Corect | 5 |
| 22 | 28ms | 1328kb | Corect | 5 |
| Punctaj total | 100 |