Pagini recente » Borderou de evaluare (job #1596437) | Borderou de evaluare (job #2094179) | Borderou de evaluare (job #1726180) | Borderou de evaluare (job #910957) | Borderou de evaluare (job #1480009)
Borderou de evaluare (job #1480009)
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 member function ‘bool per::operator=(const per&)’:
user.cpp:78:2: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int merg(int)’:
user.cpp:170:17: warning: narrowing conversion of ‘(x + 1111)’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
h.push(per{1111+x,0});
^
user.cpp: In function ‘int main()’:
user.cpp:209:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=]
fscanf(in,"%d",&prd[i]);
^
user.cpp:219:31: warning: narrowing conversion of ‘b’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
init[a].push_back(tipe{b,t,w});
^
user.cpp:219:31: warning: narrowing conversion of ‘t’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
user.cpp:219:31: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
user.cpp:220:31: warning: narrowing conversion of ‘a’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
init[b].push_back(tipe{a,t,w});
^
user.cpp:220:31: warning: narrowing conversion of ‘t’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
user.cpp:220:31: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
user.cpp:205: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:209: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:212: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:218: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 | Depăşit | 1800kb | Time limit exceeded. | 0 |
2 | 88ms | 5952kb | OK | 10 |
3 | 68ms | 6032kb | OK | 10 |
4 | 84ms | 3856kb | OK | 10 |
5 | 96ms | 6196kb | OK | 10 |
6 | Depăşit | 5684kb | Time limit exceeded. | 0 |
7 | Depăşit | 3264kb | Time limit exceeded. | 0 |
8 | 4ms | 1824kb | OK | 10 |
9 | 0ms | 1084kb | OK | 10 |
10 | 12ms | 1416kb | OK | 10 |
Punctaj total | 70 |