Pagini recente » Borderou de evaluare (job #1256866) | Borderou de evaluare (job #2162998) | Borderou de evaluare (job #721556) | Borderou de evaluare (job #2325241) | Borderou de evaluare (job #1503954)
Borderou de evaluare (job #1503954)
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 | 252kb | Incorect | 0 |
2 | 0ms | 236kb | Incorect | 0 |
3 | 0ms | 256kb | Incorect | 0 |
4 | 0ms | 252kb | Incorect | 0 |
5 | 0ms | 256kb | Incorect | 0 |
6 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 252kb | Wall time limit exceeded. | 0 |
8 | 0ms | 256kb | Incorect | 0 |
9 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |