Pagini recente » Borderou de evaluare (job #505169) | Borderou de evaluare (job #432378) | Borderou de evaluare (job #2040105) | Cod sursa (job #730651) | Borderou de evaluare (job #2601448)
Borderou de evaluare (job #2601448)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:24:15: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
memset (v[i + 1 & 1], 0, sizeof (v[i + 1 & 1]));
~~^~~
main.cpp:24:40: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
memset (v[i + 1 & 1], 0, sizeof (v[i + 1 & 1]));
~~^~~
main.cpp:26:13: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
add (v[i + 1 & 1][(j * 10 + x) % k], v[i & 1][j]);
~~^~~
main.cpp:27:13: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
add (v[i + 1 & 1][j], v[i & 1][j]);
~~^~~
main.cpp:15:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("mult.in", "r", stdin);
^
main.cpp:16:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("mult.out", "w", stdout);
^
main.cpp:17:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &n, &k);
^
main.cpp:19:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x);
^
main.cpp:23:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 524kb | OK | 5 |
| 2 | 3ms | 524kb | OK | 5 |
| 3 | 6ms | 524kb | OK | 5 |
| 4 | 9ms | 524kb | OK | 5 |
| 5 | 19ms | 524kb | OK | 5 |
| 6 | 32ms | 524kb | OK | 5 |
| 7 | 28ms | 524kb | OK | 5 |
| 8 | 41ms | 524kb | OK | 5 |
| 9 | 71ms | 524kb | OK | 5 |
| 10 | 88ms | 524kb | OK | 5 |
| 11 | 121ms | 524kb | OK | 5 |
| 12 | 27ms | 524kb | OK | 5 |
| 13 | 140ms | 524kb | OK | 5 |
| 14 | 219ms | 655kb | OK | 5 |
| 15 | 363ms | 524kb | OK | 5 |
| 16 | 374ms | 524kb | OK | 5 |
| 17 | 491ms | 524kb | OK | 5 |
| 18 | 77ms | 524kb | OK | 5 |
| 19 | 434ms | 524kb | OK | 5 |
| 20 | 667ms | 524kb | OK | 5 |
| Punctaj total | 100 |