Pagini recente » Borderou de evaluare (job #1989097) | Borderou de evaluare (job #233077) | Borderou de evaluare (job #2264338) | Borderou de evaluare (job #1183419) | Borderou de evaluare (job #2369158)
Borderou de evaluare (job #2369158)
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 |
1 | 35ms | 16121kb | OK | 10 |
2 | 38ms | 16121kb | OK | 10 |
3 | 48ms | 16384kb | OK | 10 |
4 | 100ms | 17563kb | OK | 10 |
5 | 97ms | 17170kb | OK | 10 |
6 | 316ms | 21626kb | OK | 10 |
7 | 678ms | 25165kb | OK | 10 |
8 | 778ms | 25559kb | OK | 10 |
9 | 1260ms | 36175kb | OK | 10 |
10 | 1291ms | 43646kb | OK | 10 |
Punctaj total | 100 |