Pagini recente » Borderou de evaluare (job #2452706) | Borderou de evaluare (job #852418) | Borderou de evaluare (job #2107469) | Borderou de evaluare (job #151850) | Borderou de evaluare (job #2546231)
Borderou de evaluare (job #2546231)
Raport evaluator
Compilare:
main.cpp: In function 'void backtracking(long long int)':
main.cpp:41:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k == divisors.size()) {
~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:85:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::map<long long int, long long int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", mp.size());
^
main.cpp:73:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("armonica.in", "r", stdin);
^
main.cpp:74:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("armonica.out", "w", stdout);
^
main.cpp:78:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Corect! | 5 |
| 2 | 2ms | 131kb | Corect! | 5 |
| 3 | 3ms | 131kb | Corect! | 5 |
| 4 | 3ms | 262kb | Corect! | 5 |
| 5 | 2ms | 131kb | Corect! | 5 |
| 6 | 2ms | 131kb | Corect! | 5 |
| 7 | 3ms | 131kb | Corect! | 5 |
| 8 | 3ms | 131kb | Corect! | 5 |
| 9 | 42ms | 1835kb | Corect! | 5 |
| 10 | 22ms | 1048kb | Corect! | 5 |
| 11 | 15ms | 655kb | Corect! | 5 |
| 12 | 14ms | 655kb | Corect! | 5 |
| 13 | 2ms | 131kb | Corect! | 5 |
| 14 | 5ms | 262kb | Corect! | 5 |
| 15 | 2ms | 131kb | Corect! | 5 |
| 16 | 2ms | 131kb | Corect! | 5 |
| 17 | 4ms | 131kb | Corect! | 5 |
| 18 | 3ms | 131kb | Corect! | 5 |
| 19 | 2ms | 131kb | Corect! (Exemplu) | 10 |
| Punctaj total | 100 |