Pagini recente » Borderou de evaluare (job #1482054) | Borderou de evaluare (job #681070) | Borderou de evaluare (job #1385187) | Borderou de evaluare (job #2220713) | Borderou de evaluare (job #2220791)
Borderou de evaluare (job #2220791)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(int, int*, int*, int)’:
user.cpp:10:41: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(int i = 0x0; i != 0xFFFF; index[++i] = index[~-i] + frequence[~-i]);
^~~
user.cpp:10:41: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: At global scope:
user.cpp:40:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void put_number(int x)
^~~~~~~~~~
user.cpp:15:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int get_number()
^~~~~~~~~~
user.cpp:4:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void CountingSort(int N, int A[], int B[], int digit)
^~~~~~~~~~~~
user.cpp: In function ‘int get_number()’:
user.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);
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.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);
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.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);
^
user.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 | 0ms | 4896kb | OK | 5 | 20 |
| 2 | 0ms | 5056kb | OK | 5 |
| 3 | 0ms | 4804kb | OK | 5 |
| 4 | 0ms | 3160kb | OK | 5 |
| 5 | 0ms | 3176kb | OK | 5 | 20 |
| 6 | 0ms | 3180kb | OK | 5 |
| 7 | 0ms | 5128kb | OK | 5 |
| 8 | 0ms | 3176kb | OK | 5 |
| 9 | 16ms | 4436kb | OK | 5 | 20 |
| 10 | 16ms | 4436kb | OK | 5 |
| 11 | 16ms | 4436kb | OK | 5 |
| 12 | 16ms | 4444kb | OK | 5 |
| 13 | 60ms | 7944kb | OK | 5 | 20 |
| 14 | 56ms | 7704kb | OK | 5 |
| 15 | 56ms | 8104kb | OK | 5 |
| 16 | 48ms | 8224kb | OK | 5 |
| 17 | 88ms | 9788kb | OK | 5 | 20 |
| 18 | 84ms | 9788kb | OK | 5 |
| 19 | 84ms | 9788kb | OK | 5 |
| 20 | 72ms | 9884kb | OK | 5 |
| Punctaj total | 100 |