Borderou de evaluare (job #2220932)

Utilizator inquisitorAnders inquisitor Data 12 iulie 2018 21:05:40
Problema Elementul majoritar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp:3:45: warning: always_inline function might not be inlinable [-Wattributes] __attribute__((always_inline)) unsigned int get_number() ^~~~~~~~~~ user.cpp: In function ‘unsigned int get_number()’: user.cpp:11:23: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] ++p == 0x8000 && (fread(inBuffer, 0x1, 0x8000, stdin), p = 0x0); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.cpp:18:23: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] ++p == 0x8000 && (fread(inBuffer, 0x1, 0x8000, stdin), p = 0x0); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.cpp: In function ‘int main()’: user.cpp:36:9: warning: ‘candidate’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(x == candidate) ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit808kbTime limit exceeded.0
2Depăşit808kbTime limit exceeded.0
3Depăşit812kbTime limit exceeded.0
4Depăşit932kbTime limit exceeded.0
5Depăşit808kbTime limit exceeded.0
6Depăşit792kbTime limit exceeded.0
7Depăşit872kbTime limit exceeded.0
8Depăşit800kbTime limit exceeded.0
9Depăşit756kbTime limit exceeded.0
10Depăşit756kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?