Pagini recente » Borderou de evaluare (job #140064) | Borderou de evaluare (job #3243536) | Borderou de evaluare (job #3321279) | Borderou de evaluare (job #1367658) | Borderou de evaluare (job #2223290)
Borderou de evaluare (job #2223290)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.in", "r", stdin);
^
user.cpp:21:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.out", "w", stdout);
^
user.cpp:22:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &T);
^
user.cpp:23:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=N; i++) {scanf("%ld", &PriceList[i]); PriceList[i]+=PriceList[i-1];}
^
user.cpp:26:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &K, &X);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 800kb | OK | 10 |
| 2 | 0ms | 816kb | OK | 10 |
| 3 | 4ms | 752kb | OK | 10 |
| 4 | 8ms | 756kb | OK | 10 |
| 5 | 8ms | 792kb | OK | 10 |
| 6 | 8ms | 936kb | OK | 10 |
| 7 | 12ms | 816kb | OK | 10 |
| 8 | 12ms | 804kb | OK | 10 |
| 9 | 12ms | 876kb | OK | 10 |
| 10 | 12ms | 856kb | OK | 10 |
| Punctaj total | 100 |