Pagini recente » Borderou de evaluare (job #301818) | Borderou de evaluare (job #2335599) | Borderou de evaluare (job #1525586) | Borderou de evaluare (job #2640368) | Borderou de evaluare (job #2186930)
Borderou de evaluare (job #2186930)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:21: warning: unused variable ‘pozf’ [-Wunused-variable]
int pozi=1, pozf, pozim, pozfm;
^~~~
user.cpp:53:34: warning: unused variable ‘pozfm’ [-Wunused-variable]
int pozi=1, pozf, pozim, pozfm;
^~~~~
user.cpp:36:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mirror.in", "r", stdin);
^
user.cpp:37:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mirror.out", "w", stdout);
^
user.cpp:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c);
^
user.cpp:41:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:45:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:74:48: warning: ‘pozim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d \n%d %d", lmax, pozim, pozim+lmax-1);
~~~~~^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 816kb | Incorect | 0 |
2 | 0ms | 860kb | Incorect | 0 |
3 | 0ms | 860kb | Incorect | 0 |
4 | 4ms | 796kb | Incorect | 0 |
5 | 12ms | 856kb | Incorect | 0 |
6 | 0ms | 800kb | Incorect | 0 |
7 | 32ms | 876kb | Incorect | 0 |
8 | 100ms | 1052kb | Incorect | 0 |
9 | 0ms | 752kb | Incorect | 0 |
10 | 0ms | 868kb | OK | 10 |
Punctaj total | 10 |