Borderou de evaluare (job #1582019)

Utilizator RanKBrinduse Alexandru RanK Data 27 ianuarie 2016 16:23:04
Problema Produse Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘uint64 logarithmicExponential(uint64, uint64, uint64)’: user.cpp:36:9: warning: unused variable ‘p’ [-Wunused-variable] uint64 p = k; ^ user.cpp: In function ‘uint64 ComputeCombinations(uint64, uint64)’: user.cpp:90:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = lower + 1; i <= greater; i++) ^ user.cpp:94:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 2; i <= greater - lower; i++) ^ user.cpp: In function ‘int main()’: user.cpp:118:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < n; i++) ^ user.cpp:156:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < items.size(); i++) ^ user.cpp:163:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (pow < d && idx <= it->times) ^ user.cpp:192:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 2; i <= d; i++) ^ user.cpp:15:65: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] #define STDIN_FILE_OPEN(FileName) {freopen(FileName, "r", stdin);} ^ user.cpp:106:2: note: in expansion of macro ‘STDIN_FILE_OPEN’ STDIN_FILE_OPEN("produse.in"); ^ user.cpp:16:67: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] #define STDOUT_FILE_OPEN(FileName) {freopen(FileName, "w", stdout);} ^ user.cpp:107:2: note: in expansion of macro ‘STDOUT_FILE_OPEN’ STDOUT_FILE_OPEN("produse.out"); ^ user.cpp:117:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%llu %llu", &n, &d); ^ user.cpp:121:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%llu", &nr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms1872kbIncorect0
216ms1872kbOK5
320ms1876kbIncorect0
4Depăşit7512kbTime limit exceeded.0
5Depăşit7644kbTime limit exceeded.0
6Depăşit7508kbTime limit exceeded.0
7Depăşit7512kbTime limit exceeded.0
8Depăşit7644kbTime limit exceeded.0
9Depăşit7640kbTime limit exceeded.0
10484ms5904kbIncorect0
11444ms5256kbIncorect0
12388ms4544kbIncorect0
13324ms3736kbIncorect0
14296ms3436kbIncorect0
15264ms3428kbIncorect0
16224ms3428kbIncorect0
17364ms4152kbIncorect0
18412ms4916kbIncorect0
19456ms5592kbIncorect0
20Depăşit6204kbTime limit exceeded.0
Punctaj total5

Ceva nu functioneaza?