Pagini recente » Borderou de evaluare (job #373271) | Borderou de evaluare (job #1700543) | Borderou de evaluare (job #3275403) | Borderou de evaluare (job #1327154) | Borderou de evaluare (job #1763111)
Borderou de evaluare (job #1763111)
Raport evaluator
Compilare:
user.cpp: In function ‘void BuildBinaryIndexedTree()’:
user.cpp:30:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &item);
^
user.cpp: In function ‘void ProcessQueries()’:
user.cpp:57:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &queryType);
^
user.cpp:60:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &aux1, &aux2);
^
user.cpp: In function ‘int main()’:
user.cpp:75:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("datorii.in","r",stdin);
^
user.cpp:76:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("datorii.out","w",stdout);
^
user.cpp:78:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &numberOfItems, &numberOfQueris);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 88ms | 336kb | Corect! | 20 |
2 | 88ms | 336kb | Corect! | 20 |
3 | 88ms | 336kb | Corect! | 20 |
4 | 88ms | 340kb | Corect! | 20 |
5 | 88ms | 336kb | Corect! | 20 |
Punctaj total | 100 |