Pagini recente » Borderou de evaluare (job #1605495) | Borderou de evaluare (job #2898664) | Borderou de evaluare (job #2373112) | Borderou de evaluare (job #1909619) | Borderou de evaluare (job #1730696)
Borderou de evaluare (job #1730696)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solve()’:
user.cpp:30:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < q[i].size(); ++j) sol[q[i][j].ind] = Compute(i) - Compute(q[i][j].x-1);
^
user.cpp: In function ‘int main()’:
user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("calafat.in","r",stdin);
^
user.cpp:42:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("calafat.out","w",stdout);
^
user.cpp:43:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&N,&M);
^
user.cpp:46:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&a[i]);
^
user.cpp:49:31: 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 | 4ms | 2864kb | OK | 5 |
| 2 | 4ms | 2868kb | OK | 5 |
| 3 | 4ms | 2864kb | OK | 5 |
| 4 | 4ms | 2868kb | OK | 5 |
| 5 | 32ms | 3332kb | OK | 5 |
| 6 | 28ms | 3336kb | OK | 5 |
| 7 | 44ms | 3580kb | OK | 5 |
| 8 | 48ms | 3684kb | OK | 5 |
| 9 | 48ms | 3696kb | OK | 5 |
| 10 | 72ms | 4100kb | OK | 5 |
| 11 | 92ms | 4384kb | OK | 5 |
| 12 | 104ms | 4716kb | OK | 5 |
| 13 | 100ms | 4796kb | OK | 5 |
| 14 | 100ms | 4584kb | OK | 5 |
| 15 | 320ms | 7920kb | Incorect | 0 |
| 16 | 324ms | 8088kb | Incorect | 0 |
| 17 | 312ms | 7764kb | OK | 5 |
| 18 | 324ms | 7920kb | Incorect | 0 |
| 19 | 328ms | 8308kb | Incorect | 0 |
| 20 | 324ms | 8312kb | Incorect | 0 |
| Punctaj total | 75 |