Pagini recente » Borderou de evaluare (job #2720771) | Borderou de evaluare (job #2638568) | Borderou de evaluare (job #1040029) | Borderou de evaluare (job #2662288) | Borderou de evaluare (job #1967291)
Borderou de evaluare (job #1967291)
Raport evaluator
Compilare:
user.cpp: In function ‘void Update(int, int, int)’:
user.cpp:43:11: warning: statement has no effect [-Wunused-value]
for (x; x <= n; x += (x & -x))
^
user.cpp: In function ‘long long int Query(int)’:
user.cpp:49:11: warning: statement has no effect [-Wunused-value]
for (x; x > 0; x -= (x & -x))
^
user.cpp: In function ‘char Advance()’:
user.cpp:21:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, 1, SIZE, stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:55:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("baruri.in", "r", stdin);
^
user.cpp:56:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("baruri.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 304ms | 1536kb | OK | 100 |
Punctaj total | 100 |