Pagini recente » Borderou de evaluare (job #706697) | Borderou de evaluare (job #3128683) | Borderou de evaluare (job #3272652) | Borderou de evaluare (job #2368936) | Borderou de evaluare (job #2439820)
Borderou de evaluare (job #2439820)
Raport evaluator
Compilare:
main.cpp: In function 'void read(int&)':
main.cpp:19:23: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
~~~~~~~~~~~~^~~~~~
main.cpp:24:23: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
~~~~~~~~~~~~^~~~~~
main.cpp: At global scope:
main.cpp:13: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:21: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:28: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:34:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("tygyn.in", "r", stdin);
^
main.cpp:35:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("tygyn.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 68ms | 9560kb | OK | 10 | 30 |
3 | 74ms | 9560kb | OK | 10 |
4 | 58ms | 9560kb | OK | 10 |
5 | 178ms | 9691kb | OK | 10 | 60 |
6 | 191ms | 9822kb | OK | 10 |
7 | 127ms | 9822kb | OK | 10 |
8 | 183ms | 9822kb | OK | 10 |
9 | 175ms | 9822kb | OK | 10 |
10 | 155ms | 9691kb | OK | 10 |
Punctaj total | 100 |