Pagini recente » Borderou de evaluare (job #1433995) | Borderou de evaluare (job #856838) | Borderou de evaluare (job #2299530) | Borderou de evaluare (job #1866685) | Borderou de evaluare (job #2140895)
Borderou de evaluare (job #2140895)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(int&)’:
user.cpp:11:21: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(buffer[i] < 48 | buffer[i] > 57)
^
user.cpp:15:21: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(buffer[i] > 47 & buffer[i] < 58)
^
user.cpp: At global scope:
user.cpp:7:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void read(int &x)
^
user.cpp: In function ‘void read(int&)’:
user.cpp:13:61: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++i == 8192) fread(buffer, 1, 8192, stdin), i = 0;
^
user.cpp:19:61: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++i == 8192) fread(buffer, 1, 8192, stdin), i = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:25:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sticle.in", "r", stdin);
^
user.cpp:26:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sticle.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 800kb | OK | 10 |
2 | 0ms | 872kb | OK | 10 |
3 | 0ms | 756kb | OK | 10 |
4 | 0ms | 760kb | OK | 10 |
5 | 0ms | 760kb | OK | 10 |
6 | 4ms | 872kb | OK | 10 |
7 | 4ms | 936kb | OK | 10 |
8 | 4ms | 812kb | OK | 10 |
9 | 4ms | 812kb | OK | 10 |
10 | 4ms | 756kb | OK | 10 |
Punctaj total | 100 |