Pagini recente » Borderou de evaluare (job #506837) | Borderou de evaluare (job #1479763) | Borderou de evaluare (job #3005439) | Solutii Happy Coding 1 | Borderou de evaluare (job #1927039)
Borderou de evaluare (job #1927039)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(i % d == 0)
^
user.cpp:43:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d\n", q[v[j].b] - q[v[j].a-1]);
^
user.cpp:17:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sumdiv2.in", "r", stdin);
^
user.cpp:18:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sumdiv2.out", "w", stdout);
^
user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:23:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &v[i].a, &v[i].b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | Incorect | 0 |
| 2 | 0ms | 284kb | Incorect | 0 |
| 3 | 0ms | 288kb | Incorect | 0 |
| 4 | 0ms | 284kb | Incorect | 0 |
| 5 | 12ms | 408kb | Incorect | 0 |
| 6 | 12ms | 412kb | Incorect | 0 |
| 7 | 324ms | 1536kb | Incorect | 0 |
| 8 | 324ms | 1532kb | Incorect | 0 |
| 9 | 368ms | 2232kb | Incorect | 0 |
| 10 | 368ms | 2232kb | Incorect | 0 |
| 11 | Depăşit | 1688kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 1688kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 1688kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 1684kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 1688kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 1684kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 1684kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 1688kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1692kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 1688kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |