Pagini recente » Borderou de evaluare (job #923137) | Borderou de evaluare (job #348582) | Borderou de evaluare (job #3146773) | Borderou de evaluare (job #272791) | Borderou de evaluare (job #1553335)
Borderou de evaluare (job #1553335)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}’ [-Wformat=]
printf("%d\n", sum1[OLD][b - 1] % MOD);
^
user.cpp:14:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nr.in", "r", stdin);
^
user.cpp:15:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nr.out", "w", stdout);
^
user.cpp:18:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | Incorect | 0 |
2 | 536ms | 336kb | Incorect | 0 |
3 | 432ms | 332kb | Incorect | 0 |
4 | 268ms | 316kb | Incorect | 0 |
5 | 168ms | 312kb | Incorect | 0 |
6 | 132ms | 308kb | Incorect | 0 |
7 | 32ms | 288kb | Incorect | 0 |
8 | 12ms | 280kb | Incorect | 0 |
9 | 0ms | 280kb | Incorect | 0 |
10 | 0ms | 276kb | OK | 10 |
Punctaj total | 10 |