Pagini recente » Borderou de evaluare (job #2064042) | Borderou de evaluare (job #2162030) | Borderou de evaluare (job #3029678) | Borderou de evaluare (job #1680556) | Borderou de evaluare (job #1721819)
Borderou de evaluare (job #1721819)
Raport evaluator
Compilare:
user.cpp: In function ‘int FindParent(TreeNode*&, TreeNode*&)’:
user.cpp:64:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<parent->sons.size();i++){
^
user.cpp: In function ‘void DFS(TreeNode*)’:
user.cpp:96:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<node->sons.size();i++)
^
user.cpp: In function ‘void DinamicProgramming(TreeNode*)’:
user.cpp:102:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<node->sons.size();i++)
^
user.cpp:108:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<node->sons.size();j++){
^
user.cpp: In function ‘void Reconstitute(TreeNode*)’:
user.cpp:138:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<node->sons.size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:142:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("soc2.in","r",stdin);
^
user.cpp:143:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("soc2.out","w",stdout);
^
user.cpp:145:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:147:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&value[i]);
^
user.cpp:149:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp: In function ‘void Reconstitute(TreeNode*)’:
user.cpp:134:22: warning: ‘which’ may be used uninitialized in this function [-Wmaybe-uninitialized]
seen[which]=1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 384kb | ok | 5 |
| 2 | 0ms | 592kb | ok | 5 |
| 3 | 4ms | 896kb | ok | 5 |
| 4 | 20ms | 1376kb | ok | 5 |
| 5 | 32ms | 1604kb | ok | 5 |
| 6 | 0ms | 668kb | ok | 5 |
| 7 | 8ms | 876kb | ok | 5 |
| 8 | 12ms | 964kb | ok | 5 |
| 9 | 28ms | 1464kb | ok | 5 |
| 10 | 32ms | 1644kb | ok | 5 |
| 11 | 44ms | 1796kb | ok | 5 |
| 12 | 60ms | 1916kb | ok | 5 |
| 13 | 0ms | 616kb | ok | 5 |
| 14 | 52ms | 1520kb | ok | 5 |
| 15 | 80ms | 1740kb | ok | 5 |
| 16 | Depăşit | 1304kb | Time limit exceeded. | 0 |
| 17 | 120ms | 2020kb | ok | 5 |
| 18 | Depăşit | 932kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 932kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 1064kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |