Borderou de evaluare (job #1486251)

Utilizator geniucosOncescu Costin geniucos Data 14 septembrie 2015 14:25:34
Problema Mostenire Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 55

Raport evaluator

Compilare: user.cpp: In function ‘void proces(long long unsigned int, long long unsigned int, long long unsigned int, bool)’: user.cpp:165:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (cost <= pasi) ras = mij, p = mij + 1; ^ user.cpp: In function ‘int main()’: user.cpp:259:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("mostenire.in", "r", stdin); ^ user.cpp:260:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("mostenire.out", "w", stdout); ^ user.cpp: In function ‘void Next()’: user.cpp:303:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (sir, 1, maxl, stdin), pos = 0; ^ user.cpp: In function ‘void proces(long long unsigned int, long long unsigned int, long long unsigned int, bool)’: user.cpp:182:36: warning: ‘ras’ may be used uninitialized in this function [-Wmaybe-uninitialized] mini = getv (1, maxdif, St, mij), maxi = getv (N, maxdif, St, mij);unsigned long long curr; ^ user.cpp: In function ‘long long unsigned int ternar_search(long long unsigned int, long long unsigned int)’: user.cpp:251:18: warning: ‘ras’ may be used uninitialized in this function [-Wmaybe-uninitialized] return F (ras); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms228kbOK5
20ms228kbOK5
30ms228kbOK5
40ms228kbOK5
50ms228kbOK5
60ms224kbOK5
7Depăşit212kbTime limit exceeded.0
8Depăşit220kbTime limit exceeded.0
9Depăşit296kbTime limit exceeded.0
10Depăşit448kbTime limit exceeded.0
11Depăşit444kbTime limit exceeded.0
12Depăşit496kbTime limit exceeded.0
1316ms572kbOK5
1416ms616kbOK5
15Depăşit692kbTime limit exceeded.0
16Depăşit692kbTime limit exceeded.0
17Depăşit5764kbTime limit exceeded.0
18636ms6580kbOK5
19896ms8132kbOK5
20896ms8136kbOK5
Punctaj total55

Ceva nu functioneaza?