Pagini recente » strigat | Borderou de evaluare (job #1351413) | Borderou de evaluare (job #1725723) | Borderou de evaluare (job #1553808) | Borderou de evaluare (job #1945431)
Borderou de evaluare (job #1945431)
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 | 588kb | ok | 5 |
| 3 | 4ms | 900kb | ok | 5 |
| 4 | 20ms | 1372kb | ok | 5 |
| 5 | 32ms | 1604kb | ok | 5 |
| 6 | 0ms | 664kb | ok | 5 |
| 7 | 8ms | 880kb | ok | 5 |
| 8 | 8ms | 960kb | ok | 5 |
| 9 | 28ms | 1464kb | ok | 5 |
| 10 | 28ms | 1636kb | ok | 5 |
| 11 | 44ms | 1796kb | ok | 5 |
| 12 | 56ms | 1912kb | ok | 5 |
| 13 | 0ms | 612kb | ok | 5 |
| 14 | 48ms | 1520kb | ok | 5 |
| 15 | 80ms | 1736kb | ok | 5 |
| 16 | Depăşit | 1176kb | Time limit exceeded. | 0 |
| 17 | 120ms | 2020kb | ok | 5 |
| 18 | Depăşit | 928kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 928kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 1876kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |