Pagini recente » Borderou de evaluare (job #1963581) | Borderou de evaluare (job #2675427) | Borderou de evaluare (job #1367645) | Borderou de evaluare (job #1508185) | Borderou de evaluare (job #1716854)
Borderou de evaluare (job #1716854)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", a[a[0]]);
^
user.cpp:53:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", a[i]);
^
user.cpp:61:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", a[i]);
^
user.cpp:16:9: warning: unused variable ‘aux’ [-Wunused-variable]
int aux=k-1;
^
user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("recurenta.in", "r", stdin);
^
user.cpp:11:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("recurenta.out", "w", stdout);
^
user.cpp:12: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 | 0ms | 292kb | OK | 10 |
2 | 0ms | 308kb | OK | 10 |
3 | 0ms | 340kb | OK | 10 |
4 | 0ms | 1636kb | OK | 10 |
5 | 16ms | 4836kb | OK | 10 |
6 | 36ms | 7120kb | OK | 10 |
7 | 24ms | 6468kb | OK | 10 |
8 | 64ms | 10812kb | OK | 10 |
9 | 68ms | 11536kb | OK | 10 |
10 | 104ms | 13972kb | OK | 10 |
Punctaj total | 100 |