Pagini recente » Borderou de evaluare (job #1872719) | Borderou de evaluare (job #2145969) | Borderou de evaluare (job #2634299) | Cod sursa (job #2161905) | Borderou de evaluare (job #2220778)
Borderou de evaluare (job #2220778)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(int*, int*, int)’:
user.cpp:12:29: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(; i != 0x7FF; index[++i] = index[~-i] + frequence[~-i]);
^~~
user.cpp:12:29: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: At global scope:
user.cpp:42:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void itoa(int x)
^~~~
user.cpp:17:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int get_nr()
^~~~~~
user.cpp:6:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void CountingSort(int A[], int B[], int digit)
^~~~~~~~~~~~
user.cpp: In function ‘int get_nr()’:
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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 4704kb | OK | 5 | 20 |
2 | 0ms | 4704kb | OK | 5 |
3 | 0ms | 4704kb | OK | 5 |
4 | 0ms | 4708kb | OK | 5 |
5 | 0ms | 4720kb | OK | 5 | 20 |
6 | 0ms | 4716kb | OK | 5 |
7 | 0ms | 4716kb | OK | 5 |
8 | 0ms | 4716kb | OK | 5 |
9 | 16ms | 5668kb | OK | 5 | 20 |
10 | 16ms | 5664kb | OK | 5 |
11 | 16ms | 5664kb | OK | 5 |
12 | 16ms | 5672kb | OK | 5 |
13 | 60ms | 8916kb | OK | 5 | 20 |
14 | 56ms | 8912kb | OK | 5 |
15 | 56ms | 8912kb | OK | 5 |
16 | 52ms | 8876kb | OK | 5 |
17 | 84ms | 9520kb | OK | 5 | 20 |
18 | 80ms | 9520kb | OK | 5 |
19 | 80ms | 9516kb | OK | 5 |
20 | 76ms | 9520kb | OK | 5 |
Punctaj total | 100 |