Borderou de evaluare (job #2369158)

Utilizator Senth30Denis-Florin Cringanu Senth30 Data 5 martie 2019 21:28:35
Problema Secventa 5 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void update(long long int)': main.cpp:33:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = has[i].begin() ; j != has[i].end() && (*j).val != x ; j++ ) ; ^~~ main.cpp:34:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if (j != has[i].end() ) ^~ main.cpp: In function 'void delet(long long int)': main.cpp:42:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = has[i].begin() ; j != has[i].end() && (*j).val != x ; j++ ) ; ^~~ main.cpp:43:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if (j != has[i].end()){ ^~ main.cpp: In function 'bool exist(long long int)': main.cpp:55:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = has[i].begin() ; j != has[i].end() && (*j).val != x ; j++ ); ^~~ main.cpp:56:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if (j != has[i].end()) ^~ main.cpp: In function 'int main()': main.cpp:63:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("secv5.in", "r", stdin); ^ main.cpp:64:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("secv5.out", "w", stdout); ^ main.cpp:66:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld%lld", &n, &l, &u ) ; ^ main.cpp:68:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &v[i]) ; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
135ms16121kbOK10
238ms16121kbOK10
348ms16384kbOK10
4100ms17563kbOK10
597ms17170kbOK10
6316ms21626kbOK10
7678ms25165kbOK10
8778ms25559kbOK10
91260ms36175kbOK10
101291ms43646kbOK10
Punctaj total100

Ceva nu functioneaza?