Pagini recente » Borderou de evaluare (job #1839125) | Borderou de evaluare (job #2488883) | Borderou de evaluare (job #642166) | Borderou de evaluare (job #2022135) | Borderou de evaluare (job #2220548)
Borderou de evaluare (job #2220548)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_nr()’:
user.cpp:25:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 48 | inBuffer[p] > 57)
~~~~~~~~~~~~^~~~
user.cpp:30:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 47 & inBuffer[p] < 58)
~~~~~~~~~~~~^~~~
user.cpp: At global scope:
user.cpp:42:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void itoa(int x)
^~~~
user.cpp:21:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int get_nr()
^~~~~~
user.cpp: In function ‘int get_nr()’:
user.cpp:27:22: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p != 32768 || (fread(inBuffer, 1, 32768, stdin), p = 0);
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.cpp:34:22: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p != 32768 || (fread(inBuffer, 1, 32768, stdin), p = 0);
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:56:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid2.in", "r", stdin);
^
user.cpp:57:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid2.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 752kb | OK | 10 | 10 |
2 | 0ms | 936kb | OK | 10 | 20 |
3 | 0ms | 816kb | OK | 10 |
4 | 8ms | 824kb | OK | 10 | 10 |
5 | 12ms | 916kb | OK | 10 | 10 |
6 | 16ms | 1016kb | OK | 10 | 10 |
7 | 20ms | 1108kb | OK | 10 | 40 |
8 | 24ms | 1204kb | OK | 10 |
9 | 24ms | 1060kb | OK | 10 |
10 | 40ms | 1580kb | OK | 10 |
Punctaj total | 100 |