Pagini recente » Borderou de evaluare (job #460516) | Borderou de evaluare (job #2918209) | Borderou de evaluare (job #3222455) | Borderou de evaluare (job #919911) | Borderou de evaluare (job #2729150)
Borderou de evaluare (job #2729150)
Raport evaluator
Compilare:
main.cpp: In function 'void Solve1()':
main.cpp:47:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i + k - 1 < ans.size();) {
~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:112:35: 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);
^
main.cpp:113:37: 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);
^
main.cpp:115:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &task, &n, &k);
^
main.cpp:118:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 6ms | 131kb | OK | 10 |
| 5 | 11ms | 131kb | OK | 10 |
| 6 | 234ms | 2224kb | OK | 10 |
| 7 | 24ms | 262kb | OK | 10 |
| 8 | 92ms | 524kb | OK | 10 |
| 9 | 139ms | 1695kb | OK | 10 |
| 10 | 2ms | 131kb | OK | 10 |
| Punctaj total | 100 |