Pagini recente » Borderou de evaluare (job #2450901) | Borderou de evaluare (job #2310324) | Cod sursa (job #1775751) | Monitorul de evaluare | Borderou de evaluare (job #2142692)
Borderou de evaluare (job #2142692)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(unsigned int*, unsigned int*, unsigned int)’:
user.cpp:12:64: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(; i != 0x10000; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:12:64: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: In function ‘void read(unsigned int&)’:
user.cpp:23:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
^
user.cpp:28:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
^
user.cpp: At global scope:
user.cpp:38:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void itoa(unsigned int x)
^
user.cpp:17:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void read(unsigned int &num)
^
user.cpp:6:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void CountingSort(unsigned int A[], unsigned int B[], unsigned int digit)
^
user.cpp: In function ‘void read(unsigned int&)’:
user.cpp:25: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);
^
user.cpp:32: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);
^
user.cpp: In function ‘int main()’:
user.cpp:64: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);
^
user.cpp:65: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 | 4ms | 5368kb | OK | 5 | 20 |
| 2 | 4ms | 5368kb | OK | 5 |
| 3 | 4ms | 5364kb | OK | 5 |
| 4 | 4ms | 5360kb | OK | 5 |
| 5 | 4ms | 5368kb | OK | 5 | 20 |
| 6 | 4ms | 5368kb | OK | 5 |
| 7 | 4ms | 5364kb | OK | 5 |
| 8 | 4ms | 5364kb | OK | 5 |
| 9 | 44ms | 5392kb | OK | 5 | 20 |
| 10 | 40ms | 5396kb | OK | 5 |
| 11 | 40ms | 5392kb | OK | 5 |
| 12 | 40ms | 5388kb | OK | 5 |
| 13 | 152ms | 6224kb | OK | 5 | 20 |
| 14 | 148ms | 6224kb | OK | 5 |
| 15 | 148ms | 6224kb | OK | 5 |
| 16 | 140ms | 6224kb | OK | 5 |
| 17 | 220ms | 6808kb | OK | 5 | 20 |
| 18 | 220ms | 6812kb | OK | 5 |
| 19 | 220ms | 6808kb | OK | 5 |
| 20 | 212ms | 6804kb | OK | 5 |
| Punctaj total | 100 |