Pagini recente » Borderou de evaluare (job #1016445) | Borderou de evaluare (job #2420260) | Borderou de evaluare (job #3204848) | Borderou de evaluare (job #471720) | Borderou de evaluare (job #1581083)
Borderou de evaluare (job #1581083)
Raport evaluator
Compilare:
user.cpp: In function ‘uint64 ComputeCombinations(uint64, uint64)’:
user.cpp:41:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = b + 1; i <= a; i++)
^
user.cpp:45:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 2; i <= a - b; i++)
^
user.cpp: In function ‘int main()’:
user.cpp:66:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < n; i++)
^
user.cpp:94:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < items.size(); i++)
^
user.cpp:103:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (pow < d && idx <= it->times)
^
user.cpp:127:11: warning: unused variable ‘value’ [-Wunused-variable]
uint64 value = (totalComb + myComb) % MAGIC_MODULO;
^
user.cpp:144:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; 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:56: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:57:2: note: in expansion of macro ‘STDOUT_FILE_OPEN’
STDOUT_FILE_OPEN("produse.out");
^
user.cpp:65: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:69: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 |
1 | 8ms | 336kb | OK | 5 |
2 | 8ms | 456kb | OK | 5 |
3 | 16ms | 836kb | OK | 5 |
4 | 364ms | 5396kb | Incorect | 0 |
5 | 360ms | 5400kb | Incorect | 0 |
6 | 380ms | 5404kb | Incorect | 0 |
7 | 400ms | 5396kb | Incorect | 0 |
8 | 384ms | 5400kb | Incorect | 0 |
9 | 388ms | 5400kb | Incorect | 0 |
10 | Depăşit | 2532kb | Time limit exceeded. | 0 |
11 | Depăşit | 2192kb | Time limit exceeded. | 0 |
12 | Depăşit | 1884kb | Time limit exceeded. | 0 |
13 | Depăşit | 1884kb | Time limit exceeded. | 0 |
14 | Depăşit | 1888kb | Time limit exceeded. | 0 |
15 | Depăşit | 1888kb | Time limit exceeded. | 0 |
16 | Depăşit | 1888kb | Time limit exceeded. | 0 |
17 | Depăşit | 1884kb | Time limit exceeded. | 0 |
18 | Depăşit | 2000kb | Time limit exceeded. | 0 |
19 | Depăşit | 2364kb | Time limit exceeded. | 0 |
20 | Depăşit | 2684kb | Time limit exceeded. | 0 |
Punctaj total | 15 |