Borderou de evaluare (job #2478369)

Utilizator melutMelut Zaid melut Data 21 octombrie 2019 22:46:31
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'void Build(std::vector<unsigned int>&)': main.cpp:47:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &value); ^ main.cpp: In function 'void ReadQueries(std::vector<unsigned int>&, unsigned int)': main.cpp:101:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &type); ^ main.cpp:104:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^ main.cpp:109:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^ main.cpp:114:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a); ^ main.cpp: In function 'int main()': main.cpp:123:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen(inFile, "r", stdin); ^ main.cpp:127:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
23ms131kbIncorect0
311ms131kbOK10
440ms262kbOK10
592ms524kbOK10
6140ms655kbOK10
7150ms786kbOK10
8192ms917kbOK10
9188ms1048kbOK10
10200ms917kbOK10
Punctaj total90

Ceva nu functioneaza?