Pagini recente » Borderou de evaluare (job #2100059) | Borderou de evaluare (job #1445661) | Borderou de evaluare (job #1665297) | Cod sursa (job #100733) | Borderou de evaluare (job #1480061)
Borderou de evaluare (job #1480061)
Raport evaluator
Compilare:
user.cpp: In function ‘void make_graf()’:
user.cpp:65: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:202:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0; k<val[coada[i]].size(); k++)
^
user.cpp: In function ‘int main()’:
user.cpp:272:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=]
fscanf(in,"%d",&prd[i]);
^
user.cpp:282:37: warning: narrowing conversion of ‘b’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
init[a].push_back(tipe{b,t,w});
^
user.cpp:282:37: warning: narrowing conversion of ‘t’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
user.cpp:282:37: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
user.cpp:283:37: warning: narrowing conversion of ‘a’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
init[b].push_back(tipe{a,t,w});
^
user.cpp:283:37: warning: narrowing conversion of ‘t’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
user.cpp:283:37: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
user.cpp:268: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:272: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:275: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:281: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 | Depăşit | 5564kb | Time limit exceeded. | 0 |
| 2 | Depăşit | 12252kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 11508kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 8840kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 10260kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 9812kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 9940kb | Time limit exceeded. | 0 |
| 8 | 28ms | 4648kb | OK | 10 |
| 9 | 0ms | 2032kb | OK | 10 |
| 10 | 44ms | 4148kb | Incorect | 0 |
| Punctaj total | 20 |