Pagini recente » Borderou de evaluare (job #2305629) | Borderou de evaluare (job #2758774) | Borderou de evaluare (job #1307568) | Borderou de evaluare (job #2314472) | Borderou de evaluare (job #1480019)
Borderou de evaluare (job #1480019)
Raport evaluator
Compilare:
user.cpp: In function ‘void make_graf()’:
user.cpp:58: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:172:20: warning: narrowing conversion of ‘(((int)x) + 1111)’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
h.push(per{1111+x,0});
^
user.cpp: In function ‘int main()’:
user.cpp:210:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=]
fscanf(in,"%d",&prd[i]);
^
user.cpp:220:37: warning: narrowing conversion of ‘b’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
init[a].push_back(tipe{b,t,w});
^
user.cpp:220:37: warning: narrowing conversion of ‘t’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
user.cpp:220:37: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
user.cpp:221:37: warning: narrowing conversion of ‘a’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
init[b].push_back(tipe{a,t,w});
^
user.cpp:221:37: warning: narrowing conversion of ‘t’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
user.cpp:221:37: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
user.cpp:206: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:210: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:213: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:219: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 | 1396kb | Time limit exceeded. | 0 |
| 2 | 84ms | 5548kb | OK | 10 |
| 3 | 64ms | 5624kb | OK | 10 |
| 4 | 80ms | 3448kb | OK | 10 |
| 5 | 92ms | 5788kb | OK | 10 |
| 6 | 96ms | 5288kb | OK | 10 |
| 7 | Depăşit | 2868kb | Time limit exceeded. | 0 |
| 8 | 4ms | 1416kb | OK | 10 |
| 9 | 0ms | 676kb | OK | 10 |
| 10 | 12ms | 1008kb | OK | 10 |
| Punctaj total | 80 |