Pagini recente » Borderou de evaluare (job #2652737) | Borderou de evaluare (job #1888974) | Borderou de evaluare (job #2534870) | Borderou de evaluare (job #432533) | Borderou de evaluare (job #1503952)
Borderou de evaluare (job #1503952)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (i * i + j * j <= y && i * i + j * j >= x) if (ap[i * i + j * j] == 1) printf("%d\n", i * i + j * j); else ap[i * i + j * j]++;
^
user.cpp:15:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrat.in","r",stdin);
^
user.cpp:16:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrat.out","w",stdout);
^
user.cpp:18:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | Incorect | 0 |
| 2 | 0ms | 240kb | Incorect | 0 |
| 3 | 0ms | 264kb | Incorect | 0 |
| 4 | 0ms | 268kb | Incorect | 0 |
| 5 | 0ms | 268kb | Incorect | 0 |
| 6 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 264kb | Incorect | 0 |
| 9 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |