Pagini recente » Borderou de evaluare (job #2603618) | Borderou de evaluare (job #1334327) | Borderou de evaluare (job #2448662) | Borderou de evaluare (job #1627068) | Borderou de evaluare (job #1311672)
Borderou de evaluare (job #1311672)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(q.size() >= k) {
^
user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag.in", "r", stdin);
^
user.cpp:24:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag.out", "w", stdout);
^
user.cpp:27:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:45:20: warning: ‘add’ may be used uninitialized in this function [-Wmaybe-uninitialized]
res += add * k;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 304kb | OK | 10 | 0 |
| 2 | 0ms | 308kb | Incorect | 0 |
| 3 | 0ms | 316kb | OK | 10 | 10 |
| 4 | 8ms | 424kb | OK | 10 | 10 |
| 5 | 8ms | 416kb | OK | 10 | 10 |
| 6 | 56ms | 1164kb | OK | 10 | 10 |
| 7 | 60ms | 1164kb | OK | 10 | 10 |
| 8 | 64ms | 1168kb | OK | 10 | 10 |
| 9 | 24ms | 524kb | OK | 10 | 10 |
| 10 | 80ms | 1168kb | OK | 10 | 10 |
| Punctaj total | 80 |