Pagini recente » Borderou de evaluare (job #2091224) | Borderou de evaluare (job #2921008) | Borderou de evaluare (job #1192794) | Borderou de evaluare (job #816812) | Borderou de evaluare (job #2139627)
Borderou de evaluare (job #2139627)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(int&)’:
user.cpp:32:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
^
user.cpp:37:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
^
user.cpp: At global scope:
user.cpp:26:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void read(int &num)
^
user.cpp: In function ‘void read(int&)’:
user.cpp:34: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: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: In function ‘int main()’:
user.cpp:47:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dfs.in", "r", stdin);
^
user.cpp:48:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dfs.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 816kb | OK | 5 |
| 2 | 0ms | 816kb | OK | 5 |
| 3 | 0ms | 796kb | OK | 5 |
| 4 | 4ms | 2156kb | OK | 5 |
| 5 | 0ms | 860kb | OK | 5 |
| 6 | 0ms | 816kb | OK | 5 |
| 7 | 0ms | 816kb | OK | 5 |
| 8 | 0ms | 896kb | OK | 5 |
| 9 | 0ms | 964kb | OK | 5 |
| 10 | 0ms | 972kb | OK | 5 |
| 11 | 12ms | 3456kb | OK | 5 |
| 12 | 8ms | 2524kb | OK | 5 |
| 13 | 12ms | 3400kb | OK | 5 |
| 14 | 12ms | 3472kb | OK | 5 |
| 15 | 20ms | 4188kb | OK | 5 |
| 16 | 24ms | 4956kb | OK | 5 |
| 17 | 32ms | 9780kb | OK | 5 |
| 18 | 0ms | 876kb | OK | 5 |
| 19 | 4ms | 1732kb | OK | 5 |
| 20 | 28ms | 5556kb | OK | 5 |
| Punctaj total | 100 |