Pagini recente » Diferente pentru problema/transform3 intre reviziile 4 si 5 | Diferente pentru problema/ssce intre reviziile 1 si 2 | Monitorul de evaluare | Monitorul de evaluare | Borderou de evaluare (job #1927058)
Borderou de evaluare (job #1927058)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(i % d == 0)
^
user.cpp:68:71: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
for(int i = 1; i <= n; ++i) printf("%d\n", q[v[i].b] - q[v[i].a-1]);
^
user.cpp:46: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:47: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:49:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:52: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 | 280kb | OK | 5 |
| 2 | 0ms | 284kb | OK | 5 |
| 3 | 0ms | 284kb | OK | 5 |
| 4 | 0ms | 288kb | OK | 5 |
| 5 | 12ms | 404kb | OK | 5 |
| 6 | 12ms | 408kb | OK | 5 |
| 7 | 328ms | 1536kb | Incorect | 0 |
| 8 | 328ms | 1536kb | Incorect | 0 |
| 9 | 400ms | 2232kb | Incorect | 0 |
| 10 | 400ms | 2232kb | Incorect | 0 |
| 11 | Depăşit | 1688kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 1688kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 1684kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 1688kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 1688kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 1688kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 1692kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 1692kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1684kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 1688kb | Time limit exceeded. | 0 |
| Punctaj total | 30 |