Pagini recente » Cod sursa (job #780340) | Cod sursa (job #3324697) | Cod sursa (job #443979) | Cod sursa (job #489199) | Borderou de evaluare (job #2530844)
Borderou de evaluare (job #2530844)
Raport evaluator
Compilare:
main.cpp: In function 'void back(int, long long int)':
main.cpp:12:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos == primes.size())
~~~~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:61:39: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<long long int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", divisors.size());
^
main.cpp:73:39: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<long long int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", divisors.size());
^
main.cpp:53:39: 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:54:41: 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:56:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Corect! | 5 |
| 2 | 2ms | 131kb | Corect! | 5 |
| 3 | 2ms | 131kb | Corect! | 5 |
| 4 | 3ms | 131kb | Corect! | 5 |
| 5 | 2ms | 131kb | Corect! | 5 |
| 6 | 2ms | 131kb | Corect! | 5 |
| 7 | 3ms | 131kb | Corect! | 5 |
| 8 | 3ms | 131kb | Corect! | 5 |
| 9 | 20ms | 782kb | Corect! | 5 |
| 10 | 12ms | 524kb | Corect! | 5 |
| 11 | 8ms | 393kb | Corect! | 5 |
| 12 | 7ms | 393kb | Corect! | 5 |
| 13 | 2ms | 131kb | Corect! | 5 |
| 14 | 4ms | 131kb | Corect! | 5 |
| 15 | 2ms | 131kb | Corect! | 5 |
| 16 | 3ms | 131kb | Corect! | 5 |
| 17 | 4ms | 131kb | Corect! | 5 |
| 18 | 3ms | 131kb | Corect! | 5 |
| 19 | 2ms | 131kb | Corect! (Exemplu) | 10 |
| Punctaj total | 100 |