Pagini recente » Cod sursa (job #2833744) | Statistici Denis Cotenco (denyck) | Cod sursa (job #391968) | Cod sursa (job #679028) | Borderou de evaluare (job #2220514)
Borderou de evaluare (job #2220514)
Raport evaluator
Compilare:
user.cpp: In function ‘uint32_t get_nr()’:
user.cpp:28:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
~~~~~~~~~~~~^~~~~~
user.cpp:33:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
~~~~~~~~~~~~^~~~~~
user.cpp: At global scope:
user.cpp:24:41: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) uint32_t get_nr()
^~~~~~
user.cpp: In function ‘uint32_t get_nr()’:
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:37: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:45:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid2.in", "r", stdin);
^
user.cpp:46:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid2.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 792kb | OK | 10 | 10 |
| 2 | 0ms | 876kb | OK | 10 | 20 |
| 3 | 0ms | 816kb | OK | 10 |
| 4 | 12ms | 796kb | OK | 10 | 10 |
| 5 | 16ms | 756kb | OK | 10 | 10 |
| 6 | 24ms | 876kb | OK | 10 | 10 |
| 7 | 32ms | 756kb | OK | 10 | 40 |
| 8 | 36ms | 808kb | OK | 10 |
| 9 | 36ms | 936kb | OK | 10 |
| 10 | 60ms | 756kb | OK | 10 |
| Punctaj total | 100 |