Pagini recente » Borderou de evaluare (job #1660346) | Borderou de evaluare (job #2648730) | Borderou de evaluare (job #3173404) | Borderou de evaluare (job #1622803) | Borderou de evaluare (job #1228189)
Borderou de evaluare (job #1228189)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:37: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
printf ("%d\n", n * (n - 1) / 2 - m & 1);
^
user.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("neconex.in", "r", stdin);
^
user.cpp:8:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("neconex.out", "w", stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:16:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OK | 5 |
| 2 | 0ms | 252kb | OK | 5 |
| 3 | 0ms | 252kb | OK | 5 |
| 4 | 0ms | 252kb | OK | 5 |
| 5 | 0ms | 248kb | OK | 5 |
| 6 | 0ms | 248kb | OK | 5 |
| 7 | 0ms | 248kb | OK | 5 |
| 8 | 0ms | 252kb | OK | 5 |
| 9 | 4ms | 252kb | OK | 5 |
| 10 | 0ms | 248kb | OK | 5 |
| 11 | 8ms | 252kb | OK | 5 |
| 12 | 0ms | 244kb | OK | 5 |
| 13 | 60ms | 252kb | OK | 5 |
| 14 | 104ms | 252kb | OK | 5 |
| 15 | 112ms | 248kb | OK | 5 |
| 16 | 124ms | 244kb | OK | 5 |
| 17 | 172ms | 248kb | OK | 5 |
| 18 | 192ms | 244kb | OK | 5 |
| 19 | 220ms | 244kb | OK | 5 |
| 20 | 0ms | 248kb | OK | 5 |
| Punctaj total | 100 |