Pagini recente » Borderou de evaluare (job #2961072) | Borderou de evaluare (job #1024575) | Borderou de evaluare (job #1749846) | Borderou de evaluare (job #2764887) | Borderou de evaluare (job #2220531)
Borderou de evaluare (job #2220531)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_nr()’:
user.cpp:29:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
~~~~~~~~~~~~^~~~~~
user.cpp:34:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
~~~~~~~~~~~~^~~~~~
user.cpp: At global scope:
user.cpp:46:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void itoa(int x)
^~~~
user.cpp:25:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int get_nr()
^~~~~~
user.cpp: In function ‘int get_nr()’:
user.cpp:31: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:38: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:60: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:61: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 | 752kb | OK | 10 | 10 |
2 | 0ms | 932kb | OK | 10 | 20 |
3 | 0ms | 872kb | OK | 10 |
4 | 8ms | 864kb | OK | 10 | 10 |
5 | 12ms | 872kb | OK | 10 | 10 |
6 | 16ms | 868kb | OK | 10 | 10 |
7 | 20ms | 908kb | OK | 10 | 40 |
8 | 24ms | 964kb | OK | 10 |
9 | 24ms | 872kb | OK | 10 |
10 | 40ms | 1200kb | OK | 10 |
Punctaj total | 100 |