Pagini recente » Cod sursa (job #2618387) | Borderou de evaluare (job #2765704) | Borderou de evaluare (job #201062) | Borderou de evaluare (job #1403487) | Borderou de evaluare (job #2220545)
Borderou de evaluare (job #2220545)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_nr()’:
user.cpp:11:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 48 | inBuffer[p] > 57)
~~~~~~~~~~~~^~~~
user.cpp:16:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 47 & inBuffer[p] < 58)
~~~~~~~~~~~~^~~~
user.cpp: At global scope:
user.cpp:28:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void itoa(int x)
^~~~
user.cpp:7: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:13: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:20: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:42: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:43: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 | 860kb | OK | 10 | 10 |
2 | 0ms | 876kb | OK | 10 | 20 |
3 | 0ms | 804kb | OK | 10 |
4 | 8ms | 864kb | OK | 10 | 10 |
5 | 12ms | 908kb | OK | 10 | 10 |
6 | 16ms | 1008kb | OK | 10 | 10 |
7 | 20ms | 1108kb | OK | 10 | 40 |
8 | 24ms | 1208kb | OK | 10 |
9 | 24ms | 1060kb | OK | 10 |
10 | 40ms | 1580kb | OK | 10 |
Punctaj total | 100 |