Pagini recente » Borderou de evaluare (job #578897) | Borderou de evaluare (job #1892376) | Borderou de evaluare (job #1026782) | Borderou de evaluare (job #1128597) | Borderou de evaluare (job #2600734)
Borderou de evaluare (job #2600734)
Raport evaluator
Compilare:
main.cpp: In function 'void read(int&)':
main.cpp:14:23: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
~~~~~~~~~~~~^~~~~~
main.cpp:19:23: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
~~~~~~~~~~~~^~~~~~
main.cpp: At global scope:
main.cpp:8: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:16: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:23: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:117:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pandemie.in", "r", stdin);
^
main.cpp:118:45: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pandemie.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 36ms | 14942kb | OK | 5 | 40 |
2 | 36ms | 14942kb | OK | 5 |
3 | 36ms | 14942kb | OK | 5 |
4 | 37ms | 14942kb | OK | 5 |
5 | 36ms | 15073kb | OK | 5 |
6 | 35ms | 14942kb | OK | 5 |
7 | 36ms | 14942kb | OK | 5 |
8 | 36ms | 14942kb | OK | 5 |
9 | 137ms | 20316kb | OK | 5 | 40 |
10 | 123ms | 20316kb | OK | 5 |
11 | 126ms | 20054kb | OK | 5 |
12 | 139ms | 21757kb | OK | 5 |
13 | 68ms | 19529kb | OK | 5 |
14 | 100ms | 18874kb | OK | 5 |
15 | 125ms | 20709kb | OK | 5 |
16 | 100ms | 18874kb | OK | 5 |
17 | 266ms | 27918kb | OK | 5 | 0 |
18 | 291ms | 28704kb | OK | 5 |
19 | 184ms | 25427kb | OK | 5 |
20 | 100ms | 32784kb | Memory limit exceeded | 0 |
Punctaj total | 80 |