Pagini recente » Borderou de evaluare (job #385856) | Borderou de evaluare (job #1212167) | Borderou de evaluare (job #1076060) | Borderou de evaluare (job #2207836) | Borderou de evaluare (job #2516024)
Borderou de evaluare (job #2516024)
Raport evaluator
Compilare:
main.cpp: In function 'void read(int&)':
main.cpp:17:23: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
~~~~~~~~~~~~^~~~~~
main.cpp:22:23: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
~~~~~~~~~~~~^~~~~~
main.cpp: At global scope:
main.cpp:32:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void write(unsigned int x)
^~~~~
main.cpp:11:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void read(int &num)
^~~~
main.cpp: In function 'void read(int&)':
main.cpp:19:24: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:26:24: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:56:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nrtri.in", "r", stdin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 3ms | 131kb | Incorect | 0 |
| 5 | 3ms | 262kb | Incorect | 0 |
| 6 | 3ms | 262kb | Incorect | 0 |
| 7 | 2ms | 262kb | Incorect | 0 |
| 8 | 3ms | 262kb | Incorect | 0 |
| 9 | 3ms | 393kb | Incorect | 0 |
| 10 | 3ms | 393kb | Incorect | 0 |
| 11 | 3ms | 393kb | Incorect | 0 |
| 12 | 3ms | 524kb | Incorect | 0 |
| 13 | 4ms | 524kb | Incorect | 0 |
| 14 | 3ms | 524kb | Incorect | 0 |
| 15 | 4ms | 524kb | Incorect | 0 |
| 16 | 4ms | 524kb | Incorect | 0 |
| 17 | 4ms | 524kb | Incorect | 0 |
| 18 | 4ms | 524kb | Incorect | 0 |
| 19 | 4ms | 524kb | Incorect | 0 |
| 20 | 4ms | 524kb | Incorect | 0 |
| Punctaj total | 0 |