Pagini recente » Borderou de evaluare (job #2199986) | Borderou de evaluare (job #1144586) | Borderou de evaluare (job #469982) | Borderou de evaluare (job #2214252) | Borderou de evaluare (job #1480249)
Borderou de evaluare (job #1480249)
Raport evaluator
Compilare:
user.cpp: In function ‘void make_graf()’:
user.cpp:59:37: 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(short int)’:
user.cpp:173:20: warning: narrowing conversion of ‘(((int)x) + 1111)’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
h.push(per{1111+x,0});
^
user.cpp:195:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<init[my].size(); i++)
^
user.cpp:205:25: warning: narrowing conversion of ‘to’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
h.push(per{to,v[to]});
^
user.cpp:212:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<init[my].size(); i++)
^
user.cpp:222:25: warning: narrowing conversion of ‘to’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
h.push(per{to,v[to]});
^
user.cpp: In function ‘int main()’:
user.cpp:239:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=]
fscanf(in,"%d",&prd[i]);
^
user.cpp:249:37: warning: narrowing conversion of ‘b’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
init[a].push_back(tipe{b,t,w});
^
user.cpp:249:37: warning: narrowing conversion of ‘t’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
user.cpp:249:37: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
user.cpp:250:37: warning: narrowing conversion of ‘a’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
init[b].push_back(tipe{a,t,w});
^
user.cpp:250:37: warning: narrowing conversion of ‘t’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
user.cpp:250:37: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
user.cpp:235: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:239:32: 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:242: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:248:42: 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 | 0ms | 528kb | OK | 10 |
2 | 4ms | 536kb | OK | 10 |
3 | 0ms | 508kb | OK | 10 |
4 | 28ms | 532kb | OK | 10 |
5 | 0ms | 528kb | OK | 10 |
6 | 40ms | 580kb | OK | 10 |
7 | 56ms | 536kb | OK | 10 |
8 | 0ms | 520kb | OK | 10 |
9 | 0ms | 508kb | OK | 10 |
10 | 8ms | 520kb | OK | 10 |
Punctaj total | 100 |