Pagini recente » Borderou de evaluare (job #481639) | Borderou de evaluare (job #229567) | Borderou de evaluare (job #1615256) | Borderou de evaluare (job #1452025) | Borderou de evaluare (job #1479999)
Borderou de evaluare (job #1479999)
Raport evaluator
Compilare:
user.cpp: In function ‘void make_graf()’:
user.cpp:59:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<init[i].size(); j++)
^
user.cpp: In function ‘int merg(int)’:
user.cpp:97:17: warning: narrowing conversion of ‘(x + 1111)’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
h.push(per{1111+x,0});
^
user.cpp:121:21: warning: narrowing conversion of ‘val[p]’ from ‘short unsigned int’ to ‘short int’ inside { } [-Wnarrowing]
h.push(per{val[p],v[val[p]]});
^
user.cpp:121:31: warning: narrowing conversion of ‘v[((int)val[p])]’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
h.push(per{val[p],v[val[p]]});
^
user.cpp: In function ‘int main()’:
user.cpp:136:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=]
fscanf(in,"%d",&prd[i]);
^
user.cpp:146:31: warning: narrowing conversion of ‘b’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
init[a].push_back(tipe{b,t,w});
^
user.cpp:146:31: warning: narrowing conversion of ‘t’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
user.cpp:146:31: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
user.cpp:147:31: warning: narrowing conversion of ‘a’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
init[b].push_back(tipe{a,t,w});
^
user.cpp:147:31: warning: narrowing conversion of ‘t’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
user.cpp:147:31: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
user.cpp:132:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d",&n,&k);
^
user.cpp:136:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&prd[i]);
^
user.cpp:139:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&m);
^
user.cpp:145:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d%d%d",&a,&b,&t,&w);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 36ms | 2004kb | Incorect | 0 |
2 | 32ms | 6196kb | Incorect | 0 |
3 | 24ms | 6256kb | Incorect | 0 |
4 | 24ms | 4084kb | Incorect | 0 |
5 | 44ms | 6464kb | Incorect | 0 |
6 | 48ms | 5948kb | Incorect | 0 |
7 | 20ms | 3492kb | Incorect | 0 |
8 | 4ms | 2032kb | Incorect | 0 |
9 | 0ms | 1284kb | OK | 10 |
10 | 4ms | 1628kb | Incorect | 0 |
Punctaj total | 10 |