Pagini recente » Borderou de evaluare (job #2312202) | Borderou de evaluare (job #2014449) | Borderou de evaluare (job #1234894) | Borderou de evaluare (job #679441) | Borderou de evaluare (job #2139178)
Borderou de evaluare (job #2139178)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(u32&)’:
user.cpp:31:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
^
user.cpp:36:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
^
user.cpp: In function ‘i32 main()’:
user.cpp:143:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i32 i = 0x1; i != N; ++i)
^
user.cpp:154:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i32 i = 1; i != N; ++i)
^
user.cpp:165:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i32 i = 0x1; i != N; ++i)
^
user.cpp: At global scope:
user.cpp:46:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void write(u32 x)
^
user.cpp:23:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void read(u32 &number)
^
user.cpp:10:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void CountingSort(u32 A[], u32 B[], u32 digit)
^
user.cpp: In function ‘void read(u32&)’:
user.cpp:29:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(inBuffer, 0x1, 0x40, stdin);
^
user.cpp: In function ‘i32 main()’:
user.cpp:129:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radixsort.in", "r", stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 5528kb | OK | 10 | 30 |
2 | 8ms | 5524kb | OK | 10 |
3 | 80ms | 13716kb | OK | 10 |
4 | 80ms | 13720kb | OK | 10 | 40 |
5 | 848ms | 87892kb | OK | 10 |
6 | 744ms | 87896kb | OK | 10 |
7 | 92ms | 13720kb | OK | 10 |
8 | 912ms | 89944kb | OK | 10 | 30 |
9 | 892ms | 89944kb | OK | 10 |
10 | 916ms | 89940kb | OK | 10 |
Punctaj total | 100 |