Pagini recente » Borderou de evaluare (job #1641514) | Cod sursa (job #1107239) | Borderou de evaluare (job #2462399) | Borderou de evaluare (job #2082063) | Borderou de evaluare (job #2043184)
Borderou de evaluare (job #2043184)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v1[i].size();j++) rez[v1[i][j].second]=aib_query(i)-aib_query(v1[i][j].first-1);
^
user.cpp:27:36: 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:28:38: 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:30:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:31:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&v[i]);
^
user.cpp:34:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2664kb | OK | 5 |
| 2 | 4ms | 2664kb | OK | 5 |
| 3 | 4ms | 2660kb | OK | 5 |
| 4 | 4ms | 2664kb | OK | 5 |
| 5 | 28ms | 3272kb | OK | 5 |
| 6 | 32ms | 3272kb | OK | 5 |
| 7 | 44ms | 3596kb | OK | 5 |
| 8 | 52ms | 3756kb | OK | 5 |
| 9 | 52ms | 3764kb | OK | 5 |
| 10 | 84ms | 4280kb | OK | 5 |
| 11 | 100ms | 4632kb | OK | 5 |
| 12 | 116ms | 5048kb | OK | 5 |
| 13 | 116ms | 5128kb | OK | 5 |
| 14 | 116ms | 4920kb | OK | 5 |
| 15 | 376ms | 9272kb | OK | 5 |
| 16 | 384ms | 9432kb | OK | 5 |
| 17 | 364ms | 9104kb | OK | 5 |
| 18 | 372ms | 9264kb | OK | 5 |
| 19 | 380ms | 9656kb | OK | 5 |
| 20 | 376ms | 9652kb | OK | 5 |
| Punctaj total | 100 |