Pagini recente » Borderou de evaluare (job #1252835) | Borderou de evaluare (job #444810) | Borderou de evaluare (job #1923617) | Borderou de evaluare (job #194773) | Borderou de evaluare (job #2142944)
Borderou de evaluare (job #2142944)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(unsigned int*, unsigned int*, unsigned int)’:
user.cpp:15:62: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(; i != 0x100; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:15:62: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: In function ‘void read(unsigned int&)’:
user.cpp:26:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
^
user.cpp:31:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
^
user.cpp: At global scope:
user.cpp:43:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void write(unsigned int x)
^
user.cpp:20:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void read(unsigned int &num)
^
user.cpp:9: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:28: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:35: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:63: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 3484kb | OK | 5 | 20 |
2 | 0ms | 3484kb | OK | 5 |
3 | 0ms | 3480kb | OK | 5 |
4 | 0ms | 3484kb | OK | 5 |
5 | 0ms | 3496kb | OK | 5 | 20 |
6 | 0ms | 3492kb | OK | 5 |
7 | 0ms | 3496kb | OK | 5 |
8 | 0ms | 3492kb | OK | 5 |
9 | 16ms | 5908kb | OK | 5 | 20 |
10 | 16ms | 5908kb | OK | 5 |
11 | 16ms | 5900kb | OK | 5 |
12 | 16ms | 5904kb | OK | 5 |
13 | Depăşit | 7228kb | Time limit exceeded. | 0 | 0 |
14 | Depăşit | 7228kb | Time limit exceeded. | 0 |
15 | Depăşit | 7228kb | Time limit exceeded. | 0 |
16 | Depăşit | 7232kb | Time limit exceeded. | 0 |
17 | Depăşit | 7808kb | Time limit exceeded. | 0 | 0 |
18 | Depăşit | 7808kb | Time limit exceeded. | 0 |
19 | Depăşit | 7808kb | Time limit exceeded. | 0 |
20 | Depăşit | 7812kb | Time limit exceeded. | 0 |
Punctaj total | 60 |