Pagini recente » Borderou de evaluare (job #2975811) | Borderou de evaluare (job #3242600) | Borderou de evaluare (job #3235116) | Borderou de evaluare (job #949001) | Borderou de evaluare (job #1844817)
Borderou de evaluare (job #1844817)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drum3.in", "r", stdin);
^
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drum3.out", "w", stdout);
^
user.cpp:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:38:18: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ans = (1LL*p1*p2*2)%MOD;
^
user.cpp:38:18: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | OK | 10 |
| 2 | 0ms | 280kb | OK | 10 |
| 3 | 0ms | 280kb | OK | 10 |
| 4 | 4ms | 288kb | OK | 10 |
| 5 | 16ms | 296kb | OK | 10 |
| 6 | 92ms | 312kb | OK | 10 |
| 7 | 76ms | 316kb | OK | 10 |
| 8 | 56ms | 312kb | OK | 10 |
| 9 | 100ms | 312kb | OK | 10 |
| 10 | 72ms | 312kb | OK | 10 |
| Punctaj total | 100 |