Pagini recente » Borderou de evaluare (job #1310466) | Borderou de evaluare (job #3122820) | Borderou de evaluare (job #2455447) | Borderou de evaluare (job #457449) | Borderou de evaluare (job #2142413)
Borderou de evaluare (job #2142413)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(int&)’:
user.cpp:39:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
^
user.cpp:44:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
^
user.cpp: At global scope:
user.cpp:33:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void read(int &num)
^
user.cpp:10:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int root(int x)
^
user.cpp: In function ‘void read(int&)’:
user.cpp:41:21: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p != SIZE || (fread(inBuffer, 0x1, SIZE, stdin), p = 0x0);
^
user.cpp:48:21: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p != SIZE || (fread(inBuffer, 0x1, SIZE, stdin), p = 0x0);
^
user.cpp: In function ‘int main()’:
user.cpp:56:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("disjoint.in", "r", stdin);
^
user.cpp:57:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("disjoint.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 796kb | OK | 10 | 10 |
2 | 0ms | 772kb | OK | 10 | 10 |
3 | 0ms | 856kb | OK | 10 | 10 |
4 | 0ms | 796kb | OK | 10 | 10 |
5 | 0ms | 868kb | OK | 10 | 30 |
6 | 8ms | 1300kb | OK | 10 |
7 | 8ms | 1300kb | OK | 10 |
8 | 8ms | 1508kb | OK | 10 | 10 |
9 | 4ms | 1252kb | OK | 10 | 10 |
10 | 8ms | 1620kb | OK | 10 | 10 |
Punctaj total | 100 |