Pagini recente » Borderou de evaluare (job #882571) | Borderou de evaluare (job #791872) | Borderou de evaluare (job #2009199) | Borderou de evaluare (job #667514) | Borderou de evaluare (job #2212932)
Borderou de evaluare (job #2212932)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:6: warning: unused variable ‘start’ [-Wunused-variable]
int start = 0;
^~~~~
user.cpp:33:6: warning: unused variable ‘end’ [-Wunused-variable]
int end = 0;
^~~
user.cpp:16:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("jocul.in", "r", stdin);
^
user.cpp:17:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("jocul.out", "w", stdout);
^
user.cpp:19:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:25:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:38:11: warning: iteration 50005 invokes undefined behavior [-Waggressive-loop-optimizations]
if (m[k] && k + x <= t) {
~~~^
user.cpp:37:21: note: within this loop
for (int k = 0; k <= MAXN; ++k) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 812kb | OK | 10 | 40 |
2 | 0ms | 868kb | OK | 10 |
3 | 0ms | 876kb | OK | 10 |
4 | 24ms | 812kb | OK | 10 |
5 | 56ms | 940kb | OK | 10 | 40 |
6 | 0ms | 860kb | OK | 10 |
7 | 76ms | 800kb | OK | 10 |
8 | 28ms | 796kb | OK | 10 |
9 | 36ms | 932kb | OK | 10 | 20 |
10 | 76ms | 756kb | OK | 10 |
Punctaj total | 100 |