Pagini recente » Borderou de evaluare (job #1674121) | Borderou de evaluare (job #3352458) | Borderou de evaluare (job #556927) | Borderou de evaluare (job #942545) | Borderou de evaluare (job #2220306)
Borderou de evaluare (job #2220306)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_nr()’:
user.cpp:51:21: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(buffer[i] < 48 | buffer[i] > 57)
~~~~~~~~~~^~~~
user.cpp:55:21: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(buffer[i] > 47 & buffer[i] < 58)
~~~~~~~~~~^~~~
user.cpp: At global scope:
user.cpp:47: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:53:69: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++i == buffSize) fread(buffer, 1, buffSize, stdin), i = 0;
^
user.cpp:59:69: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++i == buffSize) fread(buffer, 1, buffSize, stdin), i = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:67:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.in", "r", stdin);
^
user.cpp:68:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 796kb | OK | 10 | 10 |
| 2 | 0ms | 864kb | OK | 10 | 10 |
| 3 | 0ms | 868kb | OK | 10 | 10 |
| 4 | 8ms | 1120kb | OK | 10 | 30 |
| 5 | 12ms | 1072kb | OK | 10 |
| 6 | 12ms | 1408kb | OK | 10 |
| 7 | 36ms | 1664kb | OK | 10 | 10 |
| 8 | 68ms | 3408kb | OK | 10 | 30 |
| 9 | 156ms | 5564kb | OK | 10 |
| 10 | 160ms | 4776kb | OK | 10 |
| Punctaj total | 100 |