Pagini recente » Borderou de evaluare (job #638015) | Borderou de evaluare (job #1944843) | Borderou de evaluare (job #1475883) | Borderou de evaluare (job #637875) | Borderou de evaluare (job #1944899)
Borderou de evaluare (job #1944899)
Raport evaluator
Compilare:
user.cpp: In function ‘void mycopy(long long int*, long long int*)’:
user.cpp:10:24: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(a, 0, sizeof(a));
^
user.cpp: In function ‘void add(long long int*, long long int*)’:
user.cpp:43:32: warning: operation on ‘j’ may be undefined [-Wsequence-point]
a[++j] = a[j] + t % MOD;
^
user.cpp: In function ‘int main()’:
user.cpp:68:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gard2.in", "r", stdin);
^
user.cpp:69:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gard2.out", "w", stdout);
^
user.cpp:70:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 5548kb | OK | 5 |
| 2 | 8ms | 5548kb | OK | 5 |
| 3 | 8ms | 5604kb | OK | 5 |
| 4 | 8ms | 5620kb | OK | 5 |
| 5 | 8ms | 5696kb | OK | 5 |
| 6 | 8ms | 6004kb | OK | 5 |
| 7 | 8ms | 6032kb | OK | 5 |
| 8 | 8ms | 6388kb | OK | 5 |
| 9 | 8ms | 6644kb | OK | 5 |
| 10 | 12ms | 7092kb | OK | 5 |
| 11 | 12ms | 7024kb | OK | 5 |
| 12 | 16ms | 8312kb | OK | 5 |
| 13 | 20ms | 8844kb | OK | 5 |
| 14 | 24ms | 9200kb | OK | 5 |
| 15 | 28ms | 9856kb | OK | 5 |
| 16 | 16ms | 8040kb | OK | 5 |
| 17 | 12ms | 5680kb | OK | 5 |
| 18 | 36ms | 10480kb | OK | 5 |
| 19 | 32ms | 10300kb | OK | 5 |
| 20 | 36ms | 10464kb | OK | 5 |
| Punctaj total | 100 |