Pagini recente » Borderou de evaluare (job #2520800) | Cod sursa (job #1753576) | Borderou de evaluare (job #2438639) | Borderou de evaluare (job #1281042) | Borderou de evaluare (job #2420927)
Borderou de evaluare (job #2420927)
Raport evaluator
Compilare:
main.cpp: In function 'void CountingSort(unsigned int, unsigned int*, unsigned int*, unsigned int)':
main.cpp:10:49: warning: operation on 'i' may be undefined [-Wsequence-point]
for(unsigned int i = 0x0; i != 0x7FF; index[++i] = index[~-i] + frequence[~-i]);
^~~
main.cpp:10:49: warning: operation on 'i' may be undefined [-Wsequence-point]
main.cpp: At global scope:
main.cpp:40:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void put_number(unsigned int x)
^~~~~~~~~~
main.cpp:15:45: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) unsigned int get_number()
^~~~~~~~~~
main.cpp:4:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void CountingSort(unsigned int N, unsigned int A[], unsigned int B[], unsigned int digit)
^~~~~~~~~~~~
main.cpp: In function 'unsigned int get_number()':
main.cpp:23:23: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
++p == 0x8000 && (fread(inBuffer, 0x1, 0x8000, stdin), p = 0x0);
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:30:23: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
++p == 0x8000 && (fread(inBuffer, 0x1, 0x8000, stdin), p = 0x0);
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:62:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("algsort.in", "r", stdin);
^
main.cpp:63:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("algsort.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 5 | 20 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | OK | 5 | 20 |
| 6 | 2ms | 131kb | OK | 5 |
| 7 | 2ms | 131kb | OK | 5 |
| 8 | 2ms | 131kb | OK | 5 |
| 9 | 22ms | 2752kb | OK | 5 | 20 |
| 10 | 21ms | 2752kb | OK | 5 |
| 11 | 21ms | 2752kb | OK | 5 |
| 12 | 21ms | 2752kb | OK | 5 |
| 13 | 77ms | 9437kb | OK | 5 | 20 |
| 14 | 78ms | 9437kb | OK | 5 |
| 15 | 73ms | 9437kb | OK | 5 |
| 16 | 70ms | 9306kb | OK | 5 |
| 17 | 114ms | 12304kb | Memory limit exceeded | 0 | 0 |
| 18 | 108ms | 12304kb | Memory limit exceeded | 0 |
| 19 | 99ms | 12304kb | Memory limit exceeded | 0 |
| 20 | 102ms | 12304kb | Memory limit exceeded | 0 |
| Punctaj total | 80 |