Pagini recente » Borderou de evaluare (job #2585537) | Borderou de evaluare (job #303796) | Borderou de evaluare (job #608850) | Borderou de evaluare (job #233554) | Borderou de evaluare (job #2585108)
Borderou de evaluare (job #2585108)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:46:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", vectorUsu.size());
^
main.cpp:52:99: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
else printf("%d", 2LL * calcUsu(lungimeUsu / 4 + lungimeUsu / 2 % 2, lungimeUsu / 4) % MOD);
^
main.cpp:31:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vampir.in", "r", stdin);
^
main.cpp:32:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vampir.out", "w", stdout);
^
main.cpp:34:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &cerintaUsu, &lungimeUsu);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 2ms | 131kb | Incorect | 0 | 0 |
✓ | 2 | 2ms | 131kb | OK | 10 |
✓ | 3 | 2ms | 131kb | OK | 10 | 10 |
✓ | 4 | 2ms | 131kb | OK | 10 | 10 |
✓ | 5 | 2ms | 131kb | OK | 10 | 10 |
✓ | 6 | 99ms | 131kb | Incorect | 0 | 0 |
✓ | 7 | 84ms | 131kb | OK | 10 |
✓ | 8 | 71ms | 131kb | OK | 10 | 10 |
✓ | 9 | 93ms | 131kb | OK | 10 | 10 |
✓ | 10 | 56ms | 131kb | OK | 10 | 10 |
Punctaj total | 60 |