Pagini recente » Borderou de evaluare (job #1392512) | Borderou de evaluare (job #1028324) | Borderou de evaluare (job #1392526) | Cod sursa (job #2074841) | Borderou de evaluare (job #2020921)
Borderou de evaluare (job #2020921)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld%lld",&n,&k);
^
user.cpp:17:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) {fscanf(f,"%lld",&a[i]);a[i]+=a[i-1];}
^
user.cpp:18:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) {fscanf(f,"%lld",&b[i]);b[i]+=b[i-1];}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 312kb | OK | 10 |
| 2 | 0ms | 308kb | OK | 10 |
| 3 | 0ms | 312kb | OK | 10 |
| 4 | 0ms | 308kb | OK | 10 |
| 5 | 0ms | 304kb | OK | 10 |
| 6 | 0ms | 336kb | OK | 10 |
| 7 | 0ms | 396kb | OK | 10 |
| 8 | 0ms | 412kb | OK | 10 |
| 9 | 0ms | 428kb | OK | 10 |
| 10 | 4ms | 448kb | OK | 10 |
| Punctaj total | 100 |