Pagini recente » Borderou de evaluare (job #2042404) | Borderou de evaluare (job #2451515) | Borderou de evaluare (job #2321219) | Borderou de evaluare (job #3235695) | Borderou de evaluare (job #2241528)
Borderou de evaluare (job #2241528)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (answer.size() == k) {
~~~~~~~~~~~~~~^~~~
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in", "r", stdin);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.out", "w", stdout);
^
user.cpp:10: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:14:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 864kb | OK | 10 |
| 2 | 0ms | 860kb | OK | 10 |
| 3 | 0ms | 876kb | OK | 10 |
| 4 | 0ms | 868kb | OK | 10 |
| 5 | 0ms | 880kb | OK | 10 |
| 6 | 0ms | 876kb | OK | 10 |
| 7 | 20ms | 1104kb | OK | 10 |
| 8 | 64ms | 1620kb | OK | 10 |
| 9 | 20ms | 1108kb | OK | 10 |
| 10 | 16ms | 1104kb | OK | 10 |
| Punctaj total | 100 |