Pagini recente » Borderou de evaluare (job #2891966) | Cod sursa (job #1403407) | Cod sursa (job #963668) | Borderou de evaluare (job #1950699)
Borderou de evaluare (job #1950699)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma6.in","r",stdin);
^
user.cpp:30:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&sum);
^
user.cpp:32:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:33:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:35:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&Q[i].l,&Q[i].r),Q[i].poz = i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 588ms | 8620kb | OK | 10 |
2 | 912ms | 8664kb | OK | 10 |
3 | 0ms | 484kb | OK | 10 |
4 | 452ms | 8660kb | OK | 10 |
5 | 588ms | 8628kb | OK | 10 |
6 | 448ms | 8664kb | OK | 10 |
7 | 496ms | 8664kb | OK | 10 |
8 | 636ms | 8668kb | OK | 10 |
9 | 596ms | 8644kb | OK | 10 |
10 | 636ms | 8664kb | OK | 10 |
Punctaj total | 100 |