Pagini recente » Borderou de evaluare (job #1716889) | Borderou de evaluare (job #2819766) | Borderou de evaluare (job #2512651) | Borderou de evaluare (job #2306943) | Borderou de evaluare (job #1895254)
Borderou de evaluare (job #1895254)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:72:7: warning: unused variable ‘ttt’ [-Wunused-variable]
int ttt = getindex(sir[i-1]);
^
user.cpp:73:7: warning: unused variable ‘qqq’ [-Wunused-variable]
int qqq = getindex(sir[i+K-1]);
^
user.cpp:62:9: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, k, s, lamisto;
^
user.cpp:62:12: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, k, s, lamisto;
^
user.cpp: In function ‘int main()’:
user.cpp:99:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pikachu.in", "rt", stdin);
^
user.cpp:100:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pikachu.out", "wt", stdout);
^
user.cpp:103:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &K);
^
user.cpp:106:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &sir[i]), A.pb(sir[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1300kb | OK | 10 | 10 |
2 | 0ms | 1304kb | OK | 10 | 10 |
3 | 0ms | 1304kb | OK | 10 | 10 |
4 | 8ms | 1516kb | OK | 10 | 10 |
5 | 44ms | 2108kb | OK | 10 | 30 |
6 | 60ms | 2748kb | OK | 10 |
7 | 124ms | 2780kb | OK | 10 |
8 | 216ms | 4064kb | OK | 10 | 10 |
9 | 260ms | 4324kb | OK | 10 | 10 |
10 | 272ms | 4324kb | OK | 10 | 10 |
Punctaj total | 100 |